Roo/bootstrap/MasonryBrick.js
authorjohn <john@roojs.com>
Mon, 11 Dec 2017 04:56:45 +0000 (12:56 +0800)
committerjohn <john@roojs.com>
Mon, 11 Dec 2017 04:56:45 +0000 (12:56 +0800)
Roo/bootstrap/MasonryBrick.js

index 1a62526..79e4588 100644 (file)
@@ -376,7 +376,9 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
         
         e.preventDefault();
         
-        this.selectBrick(e,el);
+        if (this.activcClass != '') {
+            this.selectBrick(e,el);
+        }
         
         this.fireEvent('click', this);
     },