From d71a0db4a2fa5d509b3c5a628b91ac570a46dfe5 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 8 Jul 2025 16:14:30 -0400 Subject: [PATCH] fx140: Preferences: Fix "Update now" label being appended, not replaced --- chrome/content/zotero/preferences/preferences_advanced.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/preferences/preferences_advanced.js b/chrome/content/zotero/preferences/preferences_advanced.js index 6fd1994159..8fb484b2cc 100644 --- a/chrome/content/zotero/preferences/preferences_advanced.js +++ b/chrome/content/zotero/preferences/preferences_advanced.js @@ -80,7 +80,7 @@ Zotero_Preferences.Advanced = { else { var label = Zotero.getString('zotero.preferences.update.error'); } - button.setAttribute('label', label); + button.label = label; if (updated && Zotero_Preferences.Cite) { await Zotero_Preferences.Cite.refreshStylesList();