projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fc300
)
Roo/bootstrap/NavItem.js
author
edward
<edward@roojs.com>
Thu, 29 Oct 2015 03:29:21 +0000
(11:29 +0800)
committer
edward
<edward@roojs.com>
Thu, 29 Oct 2015 03:29:21 +0000
(11:29 +0800)
Roo/bootstrap/NavItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavItem.js
b/Roo/bootstrap/NavItem.js
index
01035d9
..
fc6e667
100644
(file)
--- a/
Roo/bootstrap/NavItem.js
+++ b/
Roo/bootstrap/NavItem.js
@@
-253,7
+253,9
@@
Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, {
scrollToElement : function()
{
- var target = Roo.get(document.body).select('a[name=' + this.href.replace('#', '') +']', true).first();
+ var c = Roo.get(document.body);
+
+ var target = c.select('a[name=' + this.href.replace('#', '') +']', true).first();
if(!target){
return;