From 2c5a198366b035f5b37d6446d620aa86b3abbf83 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 Sep 2009 19:14:40 +0000 Subject: - Patch #444402 by sun: clean up of parseInt() usage. --- modules/color/color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/color/color.js b/modules/color/color.js index a834f11ed..f6ebc8774 100644 --- a/modules/color/color.js +++ b/modules/color/color.js @@ -26,7 +26,7 @@ Drupal.behaviors.color = { // Build a preview. $('#preview').once('color').append('
'); var gradient = $('#preview #gradient'); - var h = parseInt(gradient.css('height')) / 10; + var h = parseInt(gradient.css('height'), 10) / 10; for (i = 0; i < h; ++i) { gradient.append('
'); } -- cgit v1.2.3