projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roo/bootstrap/NavGroup.js
[roojs1]
/
Roo
/
bootstrap
/
NavGroup.js
diff --git
a/Roo/bootstrap/NavGroup.js
b/Roo/bootstrap/NavGroup.js
index
15e239e
..
8ff00bc
100644
(file)
--- a/
Roo/bootstrap/NavGroup.js
+++ b/
Roo/bootstrap/NavGroup.js
@@
-58,11
+58,11
@@
Roo.extend(Roo.bootstrap.NavGroup, Roo.bootstrap.Component, {
cls: 'nav'
};
if (Roo.bootstrap.version == 4) {
cls: 'nav'
};
if (Roo.bootstrap.version == 4) {
- if (
this.type == 'pills'
) {
- cfg.cls = ' nav-
pills';
+ if (
['nav','pills'].indexOf(this.type) != -1
) {
+ cfg.cls = ' nav-
' + this.type;
}
} else {
}
} else {
- if (['tabs','pills'].indexOf(this.type)
!==
-1) {
+ if (['tabs','pills'].indexOf(this.type)
!=
-1) {
cfg.cls += ' nav-' + this.type
} else {
if (this.type !== 'nav') {
cfg.cls += ' nav-' + this.type
} else {
if (this.type !== 'nav') {