Open blq opened 12 years ago
Hi, I think it would be useful to have a guard that would make sure only a single instance of the colorpicker is ever attached to an element. A simple data-tag would work for example: if (element.data('colorpicker-id') != null) ...
if (element.data('colorpicker-id') != null) ...
Regards / Fredrik Blomqvist
+1
Hi, I think it would be useful to have a guard that would make sure only a single instance of the colorpicker is ever attached to an element. A simple data-tag would work for example:
if (element.data('colorpicker-id') != null) ...
Regards / Fredrik Blomqvist