mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Always close sidebar on escape button
This commit is contained in:
parent
c632bc4555
commit
7963118032
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