projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8f1c7
)
Roo/bootstrap/NavItem.js
author
Alan Knowles
<alan@roojs.com>
Wed, 5 Dec 2018 07:55:27 +0000
(15:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 5 Dec 2018 07:55:27 +0000
(15:55 +0800)
Roo/bootstrap/NavItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavItem.js
b/Roo/bootstrap/NavItem.js
index
fa17071
..
676f250
100644
(file)
--- a/
Roo/bootstrap/NavItem.js
+++ b/
Roo/bootstrap/NavItem.js
@@
-107,11
+107,9
@@
Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, {
if (this.fa) {
cfg.html = '<i class="fa fas fa-'+this.fa+'"></i> <span>' + this.html + '</span>';
}
- if (this.menu) {
-
- cfg.cn[0].html += " <span class='caret'></span>";
-
- }
+
+ // menu .. should add dropdown-menu class - so no need for carat..
+
if (this.badge !== '') {
cfg.html += ' <span class="badge badge-secondary">' + this.badge + '</span>';