Corrected poor loading of jquery.

This commit is contained in:
Chris Turner 2015-06-08 12:25:35 +12:00
parent a63cc5b0b9
commit a2024bee68

View File

@ -1,11 +1,20 @@
(function ($) {})(window.jQuery);
(function ($) {
$.entwine(function ($) {
jQuery(function ($) {
"use strict";
$(function () {
/**
* Class: .icp-auto
*
* Load the icon picker
*/
$('.icp-auto').entwine({
onmatch: function () {
$('.icp-auto').iconpicker({
})
hideOnSelect: true,
inputSearch: true
});
});
}
});
});
})(jQuery);