roojs-bootstrap.js
[roojs1] / Roo / bootstrap / Card.js
index 413d063..24829c5 100644 (file)
@@ -765,7 +765,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         var ww = he.width;
         if (hw > 1) {
             Roo.get(he).setSize( ww * (1/hw),  ww);
-            Roo.get(he).setX( (ww - (ww * (1/hw)/ 2);
+            Roo.get(he).setX( (ww - (ww * (1/hw)))/ 2);
         }
 
     }