mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
allow any hash to be pushed to history
This commit is contained in:
@@ -65,7 +65,7 @@ var ajaxify = {};
|
||||
}
|
||||
|
||||
var hash = '';
|
||||
if(ajaxify.initialLoad && window.location.href.search(/#[a-zA-Z0-9]+$/) !== -1) {
|
||||
if(ajaxify.initialLoad) {
|
||||
hash = window.location.hash ? window.location.hash : '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user