From: Alan Knowles Date: Mon, 1 Feb 2021 06:49:39 +0000 (+0800) Subject: Roo/bootstrap/NavItem.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=c77bf6b330e56ba778f72dea6cb54c4859a7d8a5 Roo/bootstrap/NavItem.js --- diff --git a/Roo/bootstrap/NavItem.js b/Roo/bootstrap/NavItem.js index 1769bfc595..b19a87897e 100644 --- a/Roo/bootstrap/NavItem.js +++ b/Roo/bootstrap/NavItem.js @@ -178,7 +178,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, { this.menu = this.addxtype(Roo.apply({}, this.menu)); } - this.el.select('a',true).on('click', this.onClick, this); + this.el.select('.nav-item',true).on('click', this.onClick, this); if(this.tagtype == 'span'){ this.el.select('span',true).on('click', this.onClick, this);