projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9ee1b
)
Roo/bootstrap/NavItem.js
author
Alan Knowles
<alan@roojs.com>
Thu, 26 Nov 2015 04:07:10 +0000
(12:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 26 Nov 2015 04:07:10 +0000
(12:07 +0800)
Roo/bootstrap/NavItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavItem.js
b/Roo/bootstrap/NavItem.js
index
2162701
..
32d3246
100644
(file)
--- a/
Roo/bootstrap/NavItem.js
+++ b/
Roo/bootstrap/NavItem.js
@@
-145,6
+145,7
@@
Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, {
this.href == '#' ||
(this.animateRef && this.href.indexOf('#') > -1)
){
+
e.preventDefault();
}
@@
-168,6
+169,7
@@
Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, {
}
if(this.animateRef && this.href.indexOf('#') > -1){
+ e.preventDefault();
this.scrollToElement(e);
return;
}