Roo/bootstrap/SecurePass.js
authorKH Lau <khlau@roojs.com>
Tue, 14 Nov 2017 05:16:31 +0000 (13:16 +0800)
committerKH Lau <khlau@roojs.com>
Tue, 14 Nov 2017 05:16:31 +0000 (13:16 +0800)
Roo/bootstrap/SecurePass.js

index 58f245a..c59535b 100644 (file)
@@ -214,10 +214,12 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
         console.log('strength2: ' + strength);
         var pm = this.trigger.child('div/div/div').dom;
                  
-        pm.style.width = (this.width / 3) * strength + 'px';
+        //pm.style.width = (this.width / 3) * strength + 'px';
+        
+        pm.style.width = (200 / 3) * strength + 'px';        
         
         pm.innerHTML = this.meterLabel + '&nbsp;' + this.pwdStrengths[strength];
-        console.log('pm: ' + pm);
+        
         /*
          for (var index = 0; index < this.fieldsFilter.length; ++index) {
          filter = document.getElementById(this.fieldsFilter[index][0]).value;