diff --git a/chrome/content/zotero/xpcom/data/library.js b/chrome/content/zotero/xpcom/data/library.js index 5fa44f3635..66cab2750a 100644 --- a/chrome/content/zotero/xpcom/data/library.js +++ b/chrome/content/zotero/xpcom/data/library.js @@ -481,7 +481,7 @@ Zotero.Library.prototype.save = async function (options) { } }; -Zotero.Library.prototype._initSave = function (env) { +Zotero.Library.prototype._initSave = async function (env) { if (this._libraryID === undefined) { env.isNew = true; @@ -742,4 +742,4 @@ Zotero.Library.prototype.hasItem = function (item) { throw new Error("item must be a Zotero.Item"); } return item.libraryID == this.libraryID; -} \ No newline at end of file +}