projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
roojs-bootstrap.js
[roojs1]
/
Roo
/
bootstrap
/
Card.js
diff --git
a/Roo/bootstrap/Card.js
b/Roo/bootstrap/Card.js
index
98d2bed
..
fbe00a7
100644
(file)
--- a/
Roo/bootstrap/Card.js
+++ b/
Roo/bootstrap/Card.js
@@
-764,8
+764,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
//var w = he.dom.naturalWidth;
var ww = he.dom.width;
if (hw > 1) {
- he.dom.width = ww * (1/hw);
- he.dom.height = ww;
+ he.setSize( ww * (1/hw), ww);
}
}