Fix pressing "-" and "+" buttons in Styles pane from keyboard

This commit is contained in:
Dan Stillman 2016-12-30 01:22:58 -05:00
parent 0757109c16
commit 5523dd5c37

View file

@ -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>