Browse Source

advanced destroy

pull/53/head
peterd 6 years ago
parent
commit
fc1d5a3b27
  1. 4
      jqColorPicker.js
  2. 2
      jqColorPicker.js.map
  3. 2
      jqColorPicker.min.js

4
jqColorPicker.js

@ -322,9 +322,7 @@
};
$.fn.colorPicker.destroy = function() {
_colorPicker.$UI.off('.a');
_instance.off('.a');
$(_colorPicker.color.options.body).off('.a');
_instance.add(_colorPicker.$UI).add(_options.body).off('.a'); // saver
_colorPicker.toggle(false);
_instance = null;
};

2
jqColorPicker.js.map
File diff suppressed because it is too large
View File

2
jqColorPicker.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save