From f6f7abb0dc623467a07161b439c7d825fb6e4da1 Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 29 Dec 2017 14:05:25 +0800 Subject: [PATCH] Roo/bootstrap/Menu.js --- Roo/bootstrap/Menu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Roo/bootstrap/Menu.js b/Roo/bootstrap/Menu.js index afa67c3465..c172d57bc0 100644 --- a/Roo/bootstrap/Menu.js +++ b/Roo/bootstrap/Menu.js @@ -140,6 +140,8 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, { this.triggerEl.on('click', this.onTriggerClick, this); + Roo.log(this.triggerEl); + this.triggerEl.on(Roo.isTouch ? 'touchstart' : 'mouseup', this.onTriggerPress, this); this.triggerEl.addClass('dropdown-toggle'); -- 2.39.2