client: delay access storage denial error log
This commit is contained in:
parent
b27d381324
commit
37b305eaea
1 changed files with 3 additions and 1 deletions
|
|
@ -30,8 +30,10 @@ function init() {
|
|||
|
||||
if (document.requestStorageAccess) {
|
||||
document.requestStorageAccess().then(init, ()=>{
|
||||
console.error('Could not obtain storage access, the app might not work correctly unless the browser\'s settings are updated')
|
||||
init()
|
||||
setTimeout(()=>{
|
||||
console.error('Could not obtain storage access, the app might not work correctly unless the browser\'s settings are updated')
|
||||
}, 1000)
|
||||
})
|
||||
} else {
|
||||
init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue