From 8ad83ad1ff7b37044634449a99bda0c2c2da0e20 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 5 Dec 2018 15:53:02 +0800 Subject: [PATCH] Roo/bootstrap/NavItem.js --- Roo/bootstrap/NavItem.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/NavItem.js b/Roo/bootstrap/NavItem.js index 9711595d4c..cdbd66fd9a 100644 --- a/Roo/bootstrap/NavItem.js +++ b/Roo/bootstrap/NavItem.js @@ -78,7 +78,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, { animateRef : false, was_active : false, button_weight : '', - button_outline : null, + button_outline : false, navLink: false, @@ -99,9 +99,9 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, { if (this.button_weight.length) { cfg.tag = this.href ? 'a' : 'button'; cfg.html = this.html || ''; - cfg.cls += ' btn' + btn- + cfg.cls += ' btn' + (this.btn_outline ? '-outline' : '') + this.button_weight; if (this.href) { - //code + } -- 2.39.2