From 328b0ad5de51b3d26d680f6274d1ce5a0800a368 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 5 Dec 2018 15:55:27 +0800 Subject: [PATCH] Roo/bootstrap/NavItem.js --- Roo/bootstrap/NavItem.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 + ''; -- 2.39.2