summaryrefslogtreecommitdiff
path: root/js/farbtastic/farbtastic.go.js
blob: 21a1530bca5d0d4ac7b7e00c704256858c7d18b2 (plain)
1
2
3
4
5
6
7
8
9
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);
        });
});