diff --git a/js/prefs.js b/js/prefs.js index 45adb4a7..00808e1e 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -193,7 +193,7 @@ var prefs = new function Prefs() { if (!BG || BG === window) { affectsIcon.forEach(key => this.broadcast(key, values[key], {sync: false})); - const importFromSync = synced => { + const importFromSync = (synced = {}) => { for (const key in defaults) { if (key in synced) { this.set(key, synced[key], {sync: false});