moved line where # is removed to prevent base url prefixing on local anchor links

This commit is contained in:
scottjehl 2010-10-27 16:56:03 -04:00
parent 4c2a9591dc
commit 77b1c3a758

View file

@ -120,8 +120,6 @@
return false;
}
href.replace(/^#/,'');
activeClickedLink = $this.closest( ".ui-btn" ).addClass( activeBtnClass );
if( external ){
@ -141,6 +139,8 @@
href = getBaseURL() + href;
}
href.replace(/^#/,'');
changePage(href, pageTransition, forceBack, changeHashOnSuccess);
}
event.preventDefault();