Roo/bootstrap/NavGroup.js
[roojs1] / Roo / bootstrap / NavGroup.js
index 37f16dc..dc4f41a 100644 (file)
@@ -58,8 +58,10 @@ Roo.extend(Roo.bootstrap.NavGroup, Roo.bootstrap.Component,  {
             cls: 'nav' 
         };
         if (Roo.bootstrap.version == 4) {
-           if (['nav','pills'].indexOf(this.type) != -1) {
-               cfg.cls = ' navbar-' + this.type; 
+           if (['tabs','pills'].indexOf(this.type) != -1) {
+               cfg.cls += ' nav-' + this.type; 
+           } else {
+               cfg.cls += ' navbar-nav';
            }
        } else {
            if (['tabs','pills'].indexOf(this.type) != -1) {