X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=8f7c8a7aac7cc5a2d8d6e1fde55e6fe2a6567c04;hb=06438598f17ae58ad3b9fb384673aa98ab03f478;hp=9f054a39fc43d8023c69f96e5b2051f4c2845842;hpb=d6d69292c8ef7f0b5b9ec6b27fdd520b95d69425;p=roojs1 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 9f054a39fc..8f7c8a7aac 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -4415,8 +4415,12 @@ Roo.extend(Roo.bootstrap.NavGroup, Roo.bootstrap.Component, { cfg.cls += ' nav-' + this.type; } else { // trying to remove so header bar can right align top? - //cfg.cls += ' navbar-nav'; + if (this.parent() && this.parent().xtype != 'NavHeaderbar') { + // do not use on header bar... + cfg.cls += ' navbar-nav'; + } } + } else { if (['tabs','pills'].indexOf(this.type) != -1) { cfg.cls += ' nav-' + this.type