barisusakli 10 years ago
parent a0d01a05ed
commit 5a15ee7713

@ -282,7 +282,9 @@ $(document).ready(function() {
if (window.location.pathname === this.pathname && this.hash.length) { if (window.location.pathname === this.pathname && this.hash.length) {
window.location.hash = this.hash; window.location.hash = this.hash;
} else { } else {
window.location.hash = ''; if (window.location.hash) {
window.location.hash = '';
}
if (ajaxify.go(pathname)) { if (ajaxify.go(pathname)) {
e.preventDefault(); e.preventDefault();
} }

Loading…
Cancel
Save