Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple colorpickers on the same page #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vdesdoigts
Copy link

If there are two colorpickers on the same page, the first colorpicker don't update his "background-color" properly when you changing its value.
It's always the last colorpicker who gets the "background-color" information.

This commit resolve this problem by changing the global variable $picker to local variable.

@gmourier
Copy link

This pull request should be merged asap! I fixed it too but every composer install/update will break it.

@ghost
Copy link

ghost commented Feb 14, 2015

+1 for this fix !
Thank you !

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

Successfully merging this pull request may close these issues.

2 participants