fix button # triggering url change
[roojs1] / roojs-bootstrap-debug.js
index fa33112..eb8c558 100644 (file)
@@ -6542,8 +6542,9 @@ Roo.extend(Roo.bootstrap.nav.Item, Roo.bootstrap.Component,  {
         }
         
         if(
-                this.preventDefault || 
-                this.href == '#' 
+                this.preventDefault ||
+                               this.href === false ||
+                this.href === '#' 
         ){
             Roo.log("NavItem - prevent Default?");
             e.preventDefault();