Roo/bootstrap/MasonryBrick.js
authoredward <edward@roojs.com>
Tue, 17 Oct 2017 05:49:40 +0000 (13:49 +0800)
committeredward <edward@roojs.com>
Tue, 17 Oct 2017 05:49:40 +0000 (13:49 +0800)
Roo/bootstrap/MasonryBrick.js

index 798546e..5d88e19 100644 (file)
@@ -430,6 +430,10 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
             return;
         }
         
+        if(!this.isFitContainer){
+            return;
+        }
+        
         this.el.select('.masonry-brick-paragraph', true).first().setOpacity(0, true);
         
         window.location.href = this.href;