silverstripe-font-awesome/js/font-awesome-module.js
2015-06-08 12:56:11 +12:00

19 lines
397 B
JavaScript

(function ($) {
$.entwine(function ($) {
/**
* Class: .icp-auto
*
* Load the icon picker
*/
$('.icp-auto').entwine({
onmatch: function () {
$('.icp-auto').iconpicker({
hideOnSelect: true,
inputSearch: true
});
}
});
});
})(jQuery);