fix splash update after splash is gone
This commit is contained in:
parent
452859fb0f
commit
331b7dbaa3
2 changed files with 9 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue