mirror of https://github.com/vector-im/riot-web
fall back, don't do both on FF
parent
f6e9c32c48
commit
9a5f4d9b22
|
@ -118,9 +118,7 @@ export default async function sendBugReport(bugReportEndpoint, opts) {
|
|||
try {
|
||||
body.append("storageManager_persisted", await navigator.storage.persisted());
|
||||
} catch (e) {}
|
||||
}
|
||||
// Safari
|
||||
if (document.hasStorageAccess) {
|
||||
} else if (document.hasStorageAccess) { // Safari
|
||||
try {
|
||||
body.append("storageManager_persisted", await document.hasStorageAccess());
|
||||
} catch (e) {}
|
||||
|
|
Loading…
Reference in New Issue