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();