diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 768f1f9724..2e2abc6c5e 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -2323,12 +2323,7 @@ Zotero.Prefs = new function(){ this.clear = function (pref) { - try { - this.prefBranch.clearUserPref(pref); - } - catch (e) { - throw ("Invalid preference '" + pref + "'"); - } + this.prefBranch.clearUserPref(pref); }