mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Merge pull request #5589 from NadavTasher/feature/change-card-archive-shortcut
Opinion - Change archive-card shortcut to backtick for better ergonomics
This commit is contained in:
commit
2c13d74c5f
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ Mousetrap.bind('space', evt => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Mousetrap.bind('-', evt => {
|
Mousetrap.bind('`', evt => {
|
||||||
const cardId = getSelectedCardId();
|
const cardId = getSelectedCardId();
|
||||||
if (!cardId) {
|
if (!cardId) {
|
||||||
return;
|
return;
|
||||||
|
@ -285,7 +285,7 @@ Template.keyboardShortcuts.helpers({
|
||||||
action: 'shortcut-assign-self',
|
action: 'shortcut-assign-self',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
keys: ['-'],
|
keys: ['`'],
|
||||||
action: 'archive-card',
|
action: 'archive-card',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue