Merge pull request #5576 from NadavTasher/bugfix/change-archive-shortcut-to-minus

Change move-to-archive keyboard shortcut to '-', because of Ctrl + C shortcut
This commit is contained in:
Lauri Ojansivu 2024-11-16 20:17:30 +02:00 committed by GitHub
commit 0f283e6cdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,7 +170,7 @@ Mousetrap.bind('space', evt => {
}
});
Mousetrap.bind('c', evt => {
Mousetrap.bind('-', evt => {
const cardId = getSelectedCardId();
if (!cardId) {
return;
@ -261,7 +261,7 @@ Template.keyboardShortcuts.helpers({
action: 'shortcut-assign-self',
},
{
keys: ['c'],
keys: ['-'],
action: 'archive-card',
},
{