gnu-social/js/farbtastic/farbtastic.go.js

11 lines
257 B
JavaScript
Raw Normal View History

$(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);
});
});