fixup cd6bcc65: read BG.localStorage dummy properly
This commit is contained in:
parent
d60aea9333
commit
7a50387d35
|
@ -183,7 +183,8 @@ var prefs = new function Prefs() {
|
|||
break;
|
||||
}
|
||||
} else if (FIREFOX_NO_DOM_STORAGE && BG) {
|
||||
value = BG.localStorage[key] || defaultValue;
|
||||
value = BG.localStorage[key];
|
||||
value = value === undefined ? defaultValue : value;
|
||||
} else {
|
||||
value = defaultValue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user