bgrins / spectrum

The No Hassle JavaScript Colorpicker
https://bgrins.github.io/spectrum/
MIT License
2.32k stars 588 forks source link

Fixed "onchange" not triggering when clicking inital val #462

Closed nullstalgia closed 7 years ago

nullstalgia commented 7 years ago

This has not been fully tested, but this should resolve issues where if you click back on the color that the color picker was when you opened the picker, it would NOT trigger "onchange" without clicking out of it first and reselecting it when another color was chosen.

nullstalgia commented 7 years ago

or it just so happens that it causes everything to fail. great

nullstalgia commented 7 years ago

So, I was testing this on version 1.8.0. The version linked in the ZIP on the website.

From 2015

Yay! I'll be closing this and work with the newest version from a git clone