diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index f9be95d1eb..535eb25239 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1414,7 +1414,7 @@ Components.utils.import("resource://gre/modules/osfile.jsm"); */ this.defineProperty = function(obj, prop, desc, opts) { if (typeof prop != 'string') throw new Error("Property must be a string"); - var d = { __proto__: null, enumerable: true }; // Enumerable by default + var d = { __proto__: null, enumerable: true, configurable: true }; // Enumerable by default for (let p in desc) { if (!desc.hasOwnProperty(p)) continue; d[p] = desc[p];