Roo/bootstrap/NavProgressBar.js
authoredward <edward@roojs.com>
Thu, 10 Mar 2016 06:10:03 +0000 (14:10 +0800)
committeredward <edward@roojs.com>
Thu, 10 Mar 2016 06:10:03 +0000 (14:10 +0800)
Roo/bootstrap/NavProgressBar.js

index ff663d2..d9db6b8 100644 (file)
@@ -86,10 +86,8 @@ Roo.extend(Roo.bootstrap.NavProgressBar, Roo.bootstrap.Component,  {
     
     formatBullets : function()
     {
-        var width = this.barItems.length / 100;
-        
         Roo.each(this.barItems, function(i){
-            i.el.setStyle('width', width + '%');
+            i.el.setStyle('width', width);
         }, this);
     }
 //