mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
Force "Show Tabs Menu" menu item to update with shortcut key at startup
This commit is contained in:
parent
61b62d0a02
commit
f8a517d286
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ const ZoteroStandalone = new function() {
|
|||
.setAttribute('key', Zotero.Keys.getKeyForCommand('copySelectedItemsToClipboard'));
|
||||
document.getElementById('key_showTabsMenu')
|
||||
.setAttribute('key', Zotero.Keys.getKeyForCommand('showTabsMenu'));
|
||||
// Force menu to update with shortcut key at startup -- as of fx128, this is necessary
|
||||
// to get the shortcut to reliably appear for the menu item without switching tabs
|
||||
document.getElementById('show-tabs-menu').hidden = true;
|
||||
document.getElementById('show-tabs-menu').hidden = false;
|
||||
|
||||
if (Zotero.isMac) {
|
||||
document.getElementById('menu_openHelp').setAttribute('key', 'key_openHelpMac');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue