From c77bf6b330e56ba778f72dea6cb54c4859a7d8a5 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 1 Feb 2021 14:49:39 +0800 Subject: [PATCH] Roo/bootstrap/NavItem.js --- Roo/bootstrap/NavItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2