diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 4603a5e43e..255b39c5cb 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -2040,7 +2040,7 @@ Zotero.Translate.Web.prototype._prepareTranslation = Zotero.Promise.method(funct * Overload translate to set selectedItems */ Zotero.Translate.Web.prototype.translate = function (options = {}, ...args) { - if (typeof options == 'number') { + if (typeof options == 'number' || options === false) { Zotero.debug("Translate: translate() now takes an object -- update your code", 2); options = { libraryID: options,