can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r17363: LJSV-660: Parsing Error in Color Picker

Committer: dpetrov
LJSV-660: Parsing Error in Color Picker
U   trunk/htdocs/js/colorpicker.js
Modified: trunk/htdocs/js/colorpicker.js
===================================================================
--- trunk/htdocs/js/colorpicker.js	2010-09-13 08:38:52 UTC (rev 17362)
+++ trunk/htdocs/js/colorpicker.js	2010-09-13 09:09:40 UTC (rev 17363)
@@ -208,7 +208,7 @@
     for (var i = 1; i <= 3; i++) {
         if (rgb[i] > max) {
             max = rgb[i];
-            hi = 1;
+            hi = i;
         }
         if (rgb[i] < min) {
             min = rgb[i];

Tags: can3p, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments