Ensure updated=1 is set as the query string before any # (#21605)
* Ensure updated=1 is set as the query string before any # Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -71,13 +71,6 @@ export function onNewScreen(screen: string, replaceLast = false) {
|
||||
}
|
||||
}
|
||||
|
||||
// reload the page to a different url
|
||||
export function reloadPage(newUrl: string) {
|
||||
console.log("reloadPage to " + newUrl);
|
||||
window.removeEventListener('hashchange', onHashChange);
|
||||
window.location.href = newUrl;
|
||||
}
|
||||
|
||||
export function init() {
|
||||
window.addEventListener('hashchange', onHashChange);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user