client: delay access storage denial error log

This commit is contained in:
jean-emmanuel 2025-12-16 12:24:32 +01:00
parent b27d381324
commit 37b305eaea

View file

@ -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()