Open peterpham opened 11 years ago
need that too
+1
as a simple work around, i added this to the create method
element.data("colorPickerDelete", function () {
element.unbind();
newPalette.remove();
newHexLabel.remove();
newHexField.remove();
newControl.remove();
});
and then executed as needed with
$(element).data("colorPickerDelete")();
How to properly destroy a color picker instance?