mirror of https://github.com/gorhill/uBlock.git
Sort-of fixes #988
This commit is contained in:
parent
d0113278aa
commit
654c82619a
|
@ -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