1
0
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:
Raymond Hill 2019-01-25 18:58:49 -05:00
parent a026e9ae54
commit 85d6339b07
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

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