From d45f0a3221f05c0d7bd77e2114d873875d33b08d Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 5 Dec 2014 11:24:31 +0800 Subject: [PATCH] Roo/bootstrap/menu/Item.js --- Roo/bootstrap/menu/Item.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Roo/bootstrap/menu/Item.js b/Roo/bootstrap/menu/Item.js index b8246a74da..3a76713a76 100644 --- a/Roo/bootstrap/menu/Item.js +++ b/Roo/bootstrap/menu/Item.js @@ -78,11 +78,8 @@ Roo.extend(Roo.bootstrap.menu.Item, Roo.bootstrap.Component, { this.el.on('mouseover', this.onMouseOver, this); this.el.on('mouseout', this.onMouseOut, this); - if(this.submenu){ - this.el.select('a', true).first().on('click', this.onClick, this); - }else{ - this.el.on('click', this.onClick, this); - } + this.el.select('a', true).first().on('click', this.onClick, this); + }, -- 2.39.2