2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-07-05 09:04:29 -06:00

advanced destroy

This commit is contained in:
peterd 2016-02-25 14:59:24 +01:00
parent fe4b4def67
commit a1f42c3840
3 changed files with 3 additions and 3 deletions

View File

@ -323,7 +323,7 @@
$.fn.colorPicker.destroy = function() {
_colorPicker.$UI.off('.a');
this.off('.a');
_instance.off('.a');
$(_colorPicker.color.options.body).off('.a');
_colorPicker.toggle(false);
_instance = null;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long