rename picker variable - so it isn't used twice

This commit is contained in:
raphi 2015-04-17 10:17:57 +00:00
parent ff46d06cd9
commit 8d5facc674

View file

@ -11,12 +11,12 @@
$('#other-chars').parent().slideToggle();
});
$("#primary").tinycolorpicker();
var picker = $('#primary').data("plugin_tinycolorpicker");
picker.setColor("#1ABC9C");
var primaryPicker = $('#primary').data("plugin_tinycolorpicker");
primaryPicker.setColor("#1ABC9C");
$("#secondary").tinycolorpicker();
var picker = $('#secondary').data("plugin_tinycolorpicker");
picker.setColor("#ffffff");
var secondaryPicker = $('#secondary').data("plugin_tinycolorpicker");
secondaryPicker.setColor("#ffffff");
})(jQuery);