From eab8205e0cb8082074ac5d585505829f35c823ab Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 29 Dec 2017 14:08:19 +0800 Subject: [PATCH] Roo/bootstrap/Menu.js --- Roo/bootstrap/Menu.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Roo/bootstrap/Menu.js b/Roo/bootstrap/Menu.js index 7ceecb6385..eff3faf06a 100644 --- a/Roo/bootstrap/Menu.js +++ b/Roo/bootstrap/Menu.js @@ -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); -- 2.39.2