rename picker variable - so it isn't used twice
This commit is contained in:
parent
ff46d06cd9
commit
8d5facc674
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue