mirror of https://github.com/gorhill/uBlock.git
Code review for a026e9ae548b: no need to be so flexible
This commit is contained in:
parent
a026e9ae54
commit
85d6339b07
|
@ -53,7 +53,7 @@
|
||||||
// IndexedDB.
|
// IndexedDB.
|
||||||
if (
|
if (
|
||||||
vAPI.webextFlavor.soup.has('firefox') === false &&
|
vAPI.webextFlavor.soup.has('firefox') === false &&
|
||||||
µBlock.hiddenSettings.cacheStorageAPI.toLowerCase() !== 'indexeddb'
|
µBlock.hiddenSettings.cacheStorageAPI !== 'IndexedDB'
|
||||||
) {
|
) {
|
||||||
// In case IndexedDB was used as cache storage, remove it.
|
// In case IndexedDB was used as cache storage, remove it.
|
||||||
indexedDB.deleteDatabase(STORAGE_NAME);
|
indexedDB.deleteDatabase(STORAGE_NAME);
|
||||||
|
|
Loading…
Reference in New Issue