Skip to content

Commit

Permalink
Roo/bootstrap/NavItem.js
Browse files Browse the repository at this point in the history
  • Loading branch information
roojs committed Nov 26, 2015
1 parent fb2486a commit 2e40434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Roo/bootstrap/NavItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component, {
var ael = this.el.select('a',true).first();
Roo.log(this.el);

if(aelthis.animateRef && this.href.indexOf('#') > -1){
if(ael & this.animateRef && this.href.indexOf('#') > -1){
Roo.log(["test:",ael.dom.href.split("#")[0], document.location.toString().split("#")[0]]);
if (dom.href.split("#")[0] != document.location.toString().split("#")[0]) {
if (ael.dom.href.split("#")[0] != document.location.toString().split("#")[0]) {
return; // ignore... - it's a 'hash' to another page.
}

Expand Down

0 comments on commit 2e40434

Please sign in to comment.