mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 19:02:30 +01:00
Code review for a026e9ae54
: 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
Block a user