From: Alan Knowles Date: Wed, 5 Dec 2018 07:53:02 +0000 (+0800) Subject: Roo/bootstrap/NavItem.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=8ad83ad1ff7b37044634449a99bda0c2c2da0e20 Roo/bootstrap/NavItem.js --- 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 + }