diff --git a/public/src/admin/modules/colorpicker.js b/public/src/admin/modules/colorpicker.js deleted file mode 100644 index 3b64164647..0000000000 --- a/public/src/admin/modules/colorpicker.js +++ /dev/null @@ -1,31 +0,0 @@ -'use strict'; - -// TODO: no longer used remove in 1.19.0 -define('admin/modules/colorpicker', function () { - const colorpicker = {}; - - colorpicker.enable = function (inputEl, callback) { - (inputEl instanceof jQuery ? inputEl : $(inputEl)).each(function () { - const $this = $(this); - - $this.ColorPicker({ - color: $this.val() || '#000', - onChange: function (hsb, hex) { - $this.val('#' + hex); - if (typeof callback === 'function') { - callback(hsb, hex); - } - }, - onShow: function (colpkr) { - $(colpkr).css('z-index', 1051); - }, - }); - - $(window).one('action:ajaxify.start', function () { - $this.ColorPickerHide(); - }); - }); - }; - - return colorpicker; -});