Sort shortcuts: Use Alt for better keyboard layout compat
This commit is contained in:
parent
7e225c4517
commit
13c96c6520
1 changed files with 1 additions and 1 deletions
|
@ -1628,7 +1628,7 @@ var ZoteroPane = new function()
|
|||
let sortSubmenuKeys = document.getElementById('sortSubmenuKeys');
|
||||
for (let i = 0; i < 10; i++) {
|
||||
let key = sortSubmenuKeys.children[i];
|
||||
key.setAttribute('modifiers', Zotero.isMac ? 'accel alt control' : 'accel alt');
|
||||
key.setAttribute('modifiers', Zotero.isMac ? 'accel alt control' : 'alt');
|
||||
key.setAttribute('key', (i + 1) % 10);
|
||||
key.addEventListener('command', () => ZoteroPane.itemsView.toggleSort(i, true));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue