From: Alan Knowles Date: Wed, 5 Dec 2018 07:55:27 +0000 (+0800) Subject: Roo/bootstrap/NavItem.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=328b0ad5de51b3d26d680f6274d1ce5a0800a368 Roo/bootstrap/NavItem.js --- diff --git a/Roo/bootstrap/NavItem.js b/Roo/bootstrap/NavItem.js index fa17071965..676f250823 100644 --- a/Roo/bootstrap/NavItem.js +++ b/Roo/bootstrap/NavItem.js @@ -107,11 +107,9 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, { if (this.fa) { cfg.html = ' ' + this.html + ''; } - if (this.menu) { - - cfg.cn[0].html += " "; - - } + + // menu .. should add dropdown-menu class - so no need for carat.. + if (this.badge !== '') { cfg.html += ' ' + this.badge + '';