7 lines
184 B
JavaScript
7 lines
184 B
JavaScript
$(document).ready(function() {
|
|
$('a#image-picker-link').imagepicker({
|
|
insertFn: function(link) {
|
|
return "{{ theme_images." + link.attr('data-slug') + " }}";
|
|
}
|
|
});
|
|
}); |