Roo/bootstrap/Menu.js
authoredward <edward@roojs.com>
Fri, 29 Dec 2017 06:08:19 +0000 (14:08 +0800)
committeredward <edward@roojs.com>
Fri, 29 Dec 2017 06:08:19 +0000 (14:08 +0800)
Roo/bootstrap/Menu.js

index 7ceecb6..eff3faf 100644 (file)
@@ -144,10 +144,13 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         
         this.triggerEl.addClass('dropdown-toggle');
         
-//        if (Roo.isTouch) {
-//            this.el.on('touchstart'  , this.onTouch, this);
-//        }
-
+        if (Roo.isTouch) {
+            this.el.on('touchstart'  , this.onTouch, this);
+        }
+        
+        Roo.log(this.triggerEl);
+        Roo.log(this.el);
+        
         this.el.on('click' , this.onClick, this);
 
         this.el.on("mouseover", this.onMouseOver, this);