projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355bd37
)
Roo/bootstrap/LayoutMasonry.js
author
Alan Knowles
<alan@roojs.com>
Thu, 2 Feb 2017 08:42:23 +0000
(16:42 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 2 Feb 2017 08:42:23 +0000
(16:42 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
49ac3ef
..
f3f5731
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-143,8
+143,9
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
this.bricks.each(function(b) {
//Roo.log(b.getSize());
- if (typeof(b.originalWidth) != 'undefined') {
- b.originalWidth = b.getSize().width;
+ if (!b.el.attr('originalwidth')) {
+
+ b.el.attr('originalwidth', b.getSize().width);
}
});