mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Sort-of fixes #988
This commit is contained in:
parent
d0113278aa
commit
654c82619a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue