Open bwencke opened 9 years ago
:+1: I stopped using this because the lack of a destroy method was tearing things apart.
//to destroy the color picker:
$( "div.pick-a-color-markup" ).each(function(i){
$(this).replaceWith($(this).find("input"));
});
if you want to destroy listeners use .off() jquery function.
its a dirty solution but works.
Can this still be implemented?
jQuery plugins should have destroy methods. This is helpful in large applications.