mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Don't refresh the page when signature has changed
This commit is contained in:
parent
ea57e04d4f
commit
6ff81971b0
@ -616,13 +616,9 @@ class PatcherCache {
|
|||||||
|
|
||||||
// Clear cache
|
// Clear cache
|
||||||
window.localStorage.setItem(PatcherCache.#KEY_CACHE, '{}');
|
window.localStorage.setItem(PatcherCache.#KEY_CACHE, '{}');
|
||||||
|
|
||||||
// Save new signature
|
// Save new signature
|
||||||
window.localStorage.setItem(PatcherCache.#KEY_SIGNATURE, currentSig.toString());
|
window.localStorage.setItem(PatcherCache.#KEY_SIGNATURE, currentSig.toString());
|
||||||
|
|
||||||
// Refresh page
|
|
||||||
// @ts-ignore
|
|
||||||
window.location.reload(true);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
BxLogger.info(LOG_TAG, 'Signature unchanged');
|
BxLogger.info(LOG_TAG, 'Signature unchanged');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user