Fix login url
This commit is contained in:
1 parent
f61034dff5
commit
34630657b8
4 files changed
+22
-4
No files matched your search
@@ -189,5 +189,9 @@ function initializeTitleFromQuery() {
|
||||
}
|
||||
}
|
||||
|
||||
// Run on ask page load
|
||||
document.addEventListener('DOMContentLoaded', initializeTitleFromQuery);
|
||||
// Run immediately (script.js loads at end of page, DOMContentLoaded may have already fired)
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', initializeTitleFromQuery);
|
||||
} else {
|
||||
initializeTitleFromQuery();
|
||||
}
|
||||
Reference in new issue
Block a user