Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

prevent double attachment #12

Open
blq opened this issue Oct 29, 2012 · 1 comment
Open

prevent double attachment #12

blq opened this issue Oct 29, 2012 · 1 comment

Comments

@blq
Copy link

blq commented Oct 29, 2012

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

@mattdot
Copy link

mattdot commented Apr 30, 2013

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants