PitPik / colorPicker

Advanced javaScript color picker and color conversion / calculation (rgb, hsv, hsl, hex, cmyk, cmy, XYZ, Lab, alpha, WCAG 2.0, ...)
http://www.dematte.at/colorPicker/
MIT License
570 stars 136 forks source link

document.body is null if script is loaded in head #15

Closed rloewe closed 9 years ago

rloewe commented 9 years ago

This happens on colorPicker.js line 17. As it is not stated anywhere that it is not intended to put the script in the head section, I see this as a bug.

PitPik commented 9 years ago

This is no bug, but definitely worth mentioning. I put this information in the Demo & integration section... Thanks for the hint and for your participation.