This commit is contained in:
barisusakli
2015-08-10 17:18:28 -04:00
parent a0d01a05ed
commit 5a15ee7713

View File

@@ -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();
} }