Commit 41f539bd authored by Dries's avatar Dries

- Patch #693504 by sun: clean-up.

parent 192cb2cf
......@@ -3,7 +3,7 @@
Drupal.behaviors.color = {
attach: function (context, settings) {
var i, colors, field_name;
var i, j, colors, field_name;
// This behavior attaches by ID, so is only valid once on a page.
var form = $('#system-theme-settings .color-form', context).once('color');
if (form.length == 0) {
......@@ -149,7 +149,7 @@ Drupal.behaviors.color = {
* Callback for Farbtastic when a new color is chosen.
*/
function callback(input, color, propagate, colorScheme) {
var i, j, matched;
var matched;
// Set background/foreground colors.
$(input).css({
backgroundColor: color,
......@@ -183,7 +183,6 @@ Drupal.behaviors.color = {
resetScheme();
}
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment