mirror of https://github.com/gorhill/uBlock.git
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
commit
2a47057209
|
@ -158,7 +158,7 @@
|
||||||
result[key] = keys[key];
|
result[key] = keys[key];
|
||||||
}
|
}
|
||||||
localforage.iterate(function(value, key) {
|
localforage.iterate(function(value, key) {
|
||||||
if(!keys[key]) return;
|
if(!keys.hasOwnProperty(key)) return;
|
||||||
if(typeof value === "string") {
|
if(typeof value === "string") {
|
||||||
result[key] = JSON.parse(value);
|
result[key] = JSON.parse(value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue