fixup 8976bd58: specify parent to avoid deadzoning

This commit is contained in:
tophf 2017-08-27 14:30:39 +03:00
parent 543fec82ce
commit 80ff6f6832

View File

@ -75,7 +75,7 @@ var prefs = new function Prefs() {
};
// FF may think localStorage is a cookie or that it's not secure
const localStorage = tryCatch(() => localStorage) ? window.localStorage : {};
const localStorage = tryCatch(() => window.localStorage) ? window.localStorage : {};
// coalesce multiple pref changes in broadcast
let broadcastPrefs = {};