pick-a-color icon indicating copy to clipboard operation
pick-a-color copied to clipboard

autosave as an option

Open charleslaw opened this issue 9 years ago • 1 comments

When using the advanced tab, autosaving the color without having to hit select would be a good option to have.

charleslaw avatar Dec 29 '15 03:12 charleslaw

I acheived this in a local copy by adding a line (menu.find(".color-preview").click();) here:

https://github.com/lauren/pick-a-color/blob/master/src/js/pick-a-color.js#L339

Probably not the cleanest, but it did work - also it didn't use settings

EDIT: More specific selector in case multiple color pickers are on 1 page

charleslaw avatar Dec 29 '15 04:12 charleslaw