Roo/bootstrap/MasonryBrick.js
authoredward <edward@roojs.com>
Wed, 18 Oct 2017 04:42:05 +0000 (12:42 +0800)
committeredward <edward@roojs.com>
Wed, 18 Oct 2017 04:42:05 +0000 (12:42 +0800)
Roo/bootstrap/MasonryBrick.js

index 74580a6..9055523 100644 (file)
@@ -336,6 +336,7 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
         } else {
             this.el.on('mouseenter'  ,this.enter, this);
             this.el.on('mouseleave', this.leave, this);
+            this.el.on('click', this.onClick, this);
         }
         
         if (typeof(this.parent().bricks) == 'object' && this.parent().bricks != null) {