Roo/bootstrap/NavSimplebar.js
authorAlan Knowles <alan@roojs.com>
Thu, 24 Jan 2019 07:53:57 +0000 (15:53 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Jan 2019 07:53:57 +0000 (15:53 +0800)
Roo/bootstrap/NavSimplebar.js

index d7737c8..41a7774 100644 (file)
@@ -69,15 +69,8 @@ Roo.extend(Roo.bootstrap.NavSimplebar, Roo.bootstrap.Navbar,  {
        
        // i'm not actually sure these are really used - normally we add a navGroup to a navbar
        
-       if (Roo.bootstrap.version == 4) {
-           cfg.cn = [
-               {
-                   cls: 'nav',
-                   tag : 'ul'
-               }
-           ];
-        
-            return cfg;
+       if (Roo.bootstrap.version == 4 && this.xtype == 'NavSimpleBar') {
+           return cfg;
        }