mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 07:01:47 +01:00
Merge pull request #5571 from NadavTasher/feature/always-close-sidebar-on-escape
Always close sidebar when user clicks ESC
This commit is contained in:
commit
c60961cbb1
1 changed files with 1 additions and 0 deletions
|
|
@ -123,6 +123,7 @@ EscapeActions = {
|
|||
// the shortcut sould work on textarea and inputs as well.
|
||||
Mousetrap.bindGlobal('esc', () => {
|
||||
EscapeActions.executeLowest();
|
||||
Sidebar.hide();
|
||||
});
|
||||
|
||||
// On a left click on the document, we try to exectute one escape action (eg,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue