Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi/core/admin/js
File: eye.js
/**
[0] Fix | Delete
*
[1] Fix | Delete
* Zoomimage
[2] Fix | Delete
* Author: Stefan Petre www.eyecon.ro
[3] Fix | Delete
*
[4] Fix | Delete
*/
[5] Fix | Delete
(function($){
[6] Fix | Delete
var EYE = window.EYE = function() {
[7] Fix | Delete
var _registered = {
[8] Fix | Delete
init: []
[9] Fix | Delete
};
[10] Fix | Delete
return {
[11] Fix | Delete
init: function() {
[12] Fix | Delete
$.each(_registered.init, function(nr, fn){
[13] Fix | Delete
fn.call();
[14] Fix | Delete
});
[15] Fix | Delete
},
[16] Fix | Delete
extend: function(prop) {
[17] Fix | Delete
for (var i in prop) {
[18] Fix | Delete
if (prop[i] != undefined) {
[19] Fix | Delete
this[i] = prop[i];
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
},
[23] Fix | Delete
register: function(fn, type) {
[24] Fix | Delete
if (!_registered[type]) {
[25] Fix | Delete
_registered[type] = [];
[26] Fix | Delete
}
[27] Fix | Delete
_registered[type].push(fn);
[28] Fix | Delete
}
[29] Fix | Delete
};
[30] Fix | Delete
}();
[31] Fix | Delete
$(EYE.init);
[32] Fix | Delete
})(jQuery);
[33] Fix | Delete
[34] Fix | Delete
(function($){
[35] Fix | Delete
var initLayout = function() {
[36] Fix | Delete
$('#colorpickerHolder').ColorPicker({flat: true});
[37] Fix | Delete
$('.colorpopup').ColorPicker({
[38] Fix | Delete
onSubmit: function(hsb, hex, rgb, el) {
[39] Fix | Delete
$(el).val(hex);
[40] Fix | Delete
$(el).ColorPickerHide();
[41] Fix | Delete
},
[42] Fix | Delete
onBeforeShow: function () {
[43] Fix | Delete
$(this).ColorPickerSetColor(this.value);
[44] Fix | Delete
}
[45] Fix | Delete
})
[46] Fix | Delete
}
[47] Fix | Delete
[48] Fix | Delete
EYE.register(initLayout, 'init');
[49] Fix | Delete
})(jQuery);
[50] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function