diff --git a/src/js/assets.js b/src/js/assets.js index fce3b3463..6bfe848f2 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -376,7 +376,7 @@ const saveAssetSourceRegistry = (( ) => { let timer; const save = function() { timer = undefined; - µBlock.cacheStorage.set({ assetSourceRegistry: assetSourceRegistry }); + µBlock.cacheStorage.set({ assetSourceRegistry }); }; return function(lazily) { if ( timer !== undefined ) { @@ -533,7 +533,7 @@ const assetCacheWrite = async function(assetKey, details) { entry.remoteURL = details.url; } µBlock.cacheStorage.set({ - cacheDict, + assetCacheRegistry, [`cache/${assetKey}`]: content });