Update color-picker.js

Get the data-id attr, not the actual id. The transparent option turns off if the user chooses a color while it is checked.
Merge pull request #1273 from paulthecoder/patch-1

Update color-picker.js
minify #1273
Signed-off-by:KProvance <kevin.provance@gmail.com>