includes/clientside/static/pwstrength.js
changeset 504 bc8e0e9ee01d
parent 460 3a1c99845ca8
child 586 234ddd896555
--- a/includes/clientside/static/pwstrength.js	Sat Mar 15 14:19:18 2008 -0400
+++ b/includes/clientside/static/pwstrength.js	Sun Mar 16 16:06:59 2008 -0400
@@ -211,7 +211,7 @@
   // some colors are from the Gmail sign-up form
   if ( score >= 10 )
   {
-    var color = '#000000';
+    var color = '#010101';
     var fgcolor = '#666666';
     var str = $lang.get('usercp_pwstrength_score_verystrong', { score: score });
   }
@@ -239,11 +239,12 @@
     var fgcolor = '#FF6060';
     var str = $lang.get('usercp_pwstrength_score_weak', { score: score });
   }
-  return {
+  var ret = {
     color: color,
     fgcolor: fgcolor,
     str: str
   };
+  return ret;
 }
 
 function password_score_field(field)