diff --git a/src/js/assets.js b/src/js/assets.js index 09acd95f0..94fc4ce35 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -571,7 +571,7 @@ const assetCacheWrite = async function(assetKey, details) { entry = cacheDict[assetKey] = {}; } entry.writeTime = entry.readTime = Date.now(); - if ( options.url === 'string' ) { + if ( typeof options.url === 'string' ) { entry.remoteURL = options.url; } µBlock.cacheStorage.set({