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

Add a custom flag to prevent re-init of the alpha colorpicker. Fixes #13 #15

Merged
merged 3 commits into from
Nov 24, 2017
Merged

Add a custom flag to prevent re-init of the alpha colorpicker. Fixes #13 #15

merged 3 commits into from
Nov 24, 2017

Conversation

jtsternberg
Copy link
Contributor

If this script is enqueued multiple times (e.g. by different WP plugins), then it will cause issues, documented in #13.
By setting and checking a flag, we can prevent multiple initiations.



If this script is enqueued multiple times (e.g. by different WP plugins), then it will cause issues, documented in #13.
By setting and checking a flag, we can prevent multiple initiations.
@jtsternberg
Copy link
Contributor Author

jtsternberg commented Nov 23, 2017

Obviously the minified dist script will need to be regenerated, and version bumped, etc.

@jtsternberg
Copy link
Contributor Author

jtsternberg commented Nov 23, 2017

Also, as a heads up, the version in the pull request is now in CMB2 core. Thank you for your work on this library. CMB2/CMB2@4b53f2a...784cf92

@kallookoo kallookoo merged commit 65887c8 into kallookoo:master Nov 24, 2017
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