roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index 34321bc..2e1e710 100644 (file)
@@ -2693,7 +2693,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
             return;
         }
         
-        var hw = he.naturalHeight / heom.naturalWidth;
+        var hw = he.naturalHeight / he.naturalWidth;
         // wide image = < 0
         // tall image = > 1
         //var w = he.dom.naturalWidth;