Roo/bootstrap/LayoutMasonry.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 Oct 2015 10:17:58 +0000 (18:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 Oct 2015 10:17:58 +0000 (18:17 +0800)
Roo/bootstrap/LayoutMasonry.js

index a6a5cba..06104cd 100644 (file)
@@ -117,9 +117,12 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
     {
         Roo.log('resize');
         var cs = this.el.getBox(true);
+        
+        
         if (this.currentSize.width == cs.width) {
             return;
         }
+        this.currentSize = cs;
         this.layout();
     },
     layout : function()