Update src/utils/StorageManager.js

Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Bruno Windels 2020-03-25 17:56:35 +00:00 committed by GitHub
parent 9a5f4d9b22
commit 0097134ade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ export function tryPersistStorage() {
navigator.storage.persist().then(persistent => {
console.log("StorageManager: Persistent?", persistent);
});
} else if (document.requestStorageAccess) { //Safari
} else if (document.requestStorageAccess) { // Safari
document.requestStorageAccess().then(
() => console.log("StorageManager: Persistent?", true),
() => console.log("StorageManager: Persistent?", false),