fix splash update after splash is gone

This commit is contained in:
Henry Jameson 2024-12-18 16:29:38 +02:00
commit 331b7dbaa3
2 changed files with 9 additions and 2 deletions

View file

@ -76,7 +76,9 @@ const persistedStateOptions = {
window.splashError = e => splashError(i18n, e)
window.splashUpdate = key => {
document.querySelector('#status').textContent = i18n.global.t(key)
if (document.querySelector('#status')) {
document.querySelector('#status').textContent = i18n.global.t(key)
}
}
try {