mirror of
https://github.com/a2nt/silverstripe-font-awesome.git
synced 2024-10-22 17:05:51 +02:00
Corrected poor loading of jquery.
This commit is contained in:
parent
a63cc5b0b9
commit
a2024bee68
@ -1,11 +1,20 @@
|
||||
(function ($) {})(window.jQuery);
|
||||
(function ($) {
|
||||
$.entwine(function ($) {
|
||||
|
||||
jQuery(function ($) {
|
||||
"use strict";
|
||||
/**
|
||||
* Class: .icp-auto
|
||||
*
|
||||
* Load the icon picker
|
||||
*/
|
||||
$('.icp-auto').entwine({
|
||||
onmatch: function () {
|
||||
$('.icp-auto').iconpicker({
|
||||
hideOnSelect: true,
|
||||
inputSearch: true
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$('.icp-auto').iconpicker({
|
||||
|
||||
})
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user