Roo/bootstrap/NavGroup.js
[roojs1] / roojs-bootstrap-debug.js
index b43e38c..9132b8b 100644 (file)
@@ -4371,8 +4371,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) {