Roo/bootstrap/NavItem.js
authorAlan Knowles <alan@roojs.com>
Thu, 26 Nov 2015 04:12:38 +0000 (12:12 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Nov 2015 04:12:38 +0000 (12:12 +0800)
Roo/bootstrap/NavItem.js

index 2baa5d6..67e752f 100644 (file)
@@ -170,6 +170,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
         }
         var dom = this.el.select('a',true).dom;
         if(this.animateRef && this.href.indexOf('#') > -1){
+            Roo.log(["test:",dom.href.split("#")[0] document.location.toString().split("#")[0]]);
             if (dom.href.split("#")[0] != document.location.toString().split("#")[0]) {
                 return; // ignore... - it's a 'hash' to another page.
             }