commit 5523dd5c37f26ff66926cef883bf158119dde9fd parent 0757109c16307076ab53372f506007c3f16b7a08 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 30 Dec 2016 01:22:58 -0500 Fix pressing "-" and "+" buttons in Styles pane from keyboard Diffstat:
| M | chrome/content/zotero/preferences/preferences_cite.xul | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/preferences/preferences_cite.xul b/chrome/content/zotero/preferences/preferences_cite.xul @@ -61,8 +61,9 @@ <label class="zotero-text-link" value="&zotero.preferences.export.getAdditionalStyles;" flex="1" onclick="Zotero_Preferences.Cite.openStylesPage(); event.preventDefault()"/> - <button disabled="true" id="styleManager-delete" label="-" onclick="Zotero_Preferences.Cite.deleteStyle()"/> - <button label="+" onclick="Zotero_Preferences.Cite.addStyle()"/> + <button disabled="true" id="styleManager-delete" label="-" + oncommand="Zotero_Preferences.Cite.deleteStyle()"/> + <button label="+" oncommand="Zotero_Preferences.Cite.addStyle()"/> </hbox> </groupbox>