diff options
Diffstat (limited to 'js/farbtastic/farbtastic.go.js')
-rw-r--r-- | js/farbtastic/farbtastic.go.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/farbtastic/farbtastic.go.js b/js/farbtastic/farbtastic.go.js new file mode 100644 index 000000000..21a1530bc --- /dev/null +++ b/js/farbtastic/farbtastic.go.js @@ -0,0 +1,10 @@ +$(document).ready(function() { + var f = $.farbtastic('#color-picker'); + var colors = $('#settings_design_color input'); + + colors + .each(function () { f.linkTo(this); }) + .focus(function() { + f.linkTo(this); + }); +}); |