📄 Extracted Text (128 words)
From: location.hash, to: hash }; } }
Date: Sat, 01 Jan 4501 05:00:00 +0000
/**
• History fix
• History is messed by Settings overlay. So here we remember the last used hash
• and once #Settings route is triggered, we just replace it with the last used
* hash we want. Kind of hacky, but overlays should not have its own hash I guess.
*/
let lastUsedHash = location.hash;
window.addEventListener('popstate', function(){
if (location.hash.index0f('#Settings') == 0
I I location.hash.index0f('#About') == 0
I I location.hash.index0f('#Notifications') == 0
I I location.hash.index0f('#MyLicenses') == 0
I I location.hash.index0f('#Help') == 0) {
// we need to givi it some time for the CI to rendered before killing
it
setTimeout(()=>i
history.replaceState(undefined, undefined, lastUsedHash);
1, 1);
} else
lastUsedHash = location.hash;
}
1 1;
EFTA01222835
ℹ️ Document Details
SHA-256
e627ee63848792b616dcb8b2ed2d100c0bd4bdb9408f8dfe839b75ec4d55f828
Bates Number
EFTA01222835
Dataset
DataSet-9
Document Type
document
Pages
1
Comments 0