mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
This commit is contained in:
@@ -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 {
|
||||||
|
if (window.location.hash) {
|
||||||
window.location.hash = '';
|
window.location.hash = '';
|
||||||
|
}
|
||||||
if (ajaxify.go(pathname)) {
|
if (ajaxify.go(pathname)) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user