From 41726fef84b4a2967bb91a4652f96096f08645c3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 28 Apr 2024 04:08:04 -0400 Subject: [PATCH] Fix error message trying to add related item in another library https://forums.zotero.org/discussion/114027/zotero-7-beta-remove-other-libraries-from-the-add-related-window --- chrome/content/zotero/elements/relatedBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/relatedBox.js b/chrome/content/zotero/elements/relatedBox.js index 7929f09540..9e3c3217ed 100644 --- a/chrome/content/zotero/elements/relatedBox.js +++ b/chrome/content/zotero/elements/relatedBox.js @@ -151,7 +151,7 @@ import { getCSSItemTypeIcon } from 'components/icons'; return; } if (relItems[0].libraryID != this._item.libraryID) { - Zotero.alert.alert(null, "", "You cannot relate items in different libraries."); + Zotero.alert(null, "", "You cannot relate items in different libraries."); return; } await Zotero.DB.executeTransaction(async () => {