diff --git a/chrome/content/zotero/xpcom/syncedSettings.js b/chrome/content/zotero/xpcom/syncedSettings.js index aac9c85d11..3899f78776 100644 --- a/chrome/content/zotero/xpcom/syncedSettings.js +++ b/chrome/content/zotero/xpcom/syncedSettings.js @@ -216,7 +216,7 @@ Zotero.SyncedSettings = (function () { }, set: async function (libraryID, setting, value, version = 0, synced) { - if (typeof value == undefined) { + if (typeof value == 'undefined') { throw new Error("Value not provided"); }