Closed hayeswise closed 7 years ago
Unfortunately this is how it detects whether the browser actually supports <input type="color">
. I've seen it done this way in a couple of other libraries (including Modernizr), so I'm not sure if there is a better method.
While debugging issues with my own plugin, I noticed when “IITC plugin: draw tools” (draw-tools.user.js) is loaded and enabled (on in Tampermonkey), the following error is reported in the Chrome console:
The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers. jquery.min.js:3
Is anyone else seeing this error?
I'm no expert with this; but, from my investigation, it appears to be associated with the spectrum color picker and the setting of inputTypeColorSupport:
It appears that jQuery is having issue with the '!' value. Any advice on how to fix this error?