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