Browse Source

Fix saveCache, might be related to #32

Gerald 10 years ago
parent
commit
b8f34bd392
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/background/db.js

+ 1 - 1
src/background/db.js

@@ -515,7 +515,7 @@ VMDB.prototype.parseScript = function (data) {
   Object.keys(meta.resources).forEach(function (k) {
     var url = meta.resources[k];
     var cache = data.resources && data.resources[url];
-    cache ? _this.saveCache(url, cache, tx) : _this.fetchCache(url);
+    cache ? _this.saveCache(url, cache) : _this.fetchCache(url);
   });
   // @icon
   if (scriptUtils.isRemote(meta.icon))