mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Prioritize escape actions with a label hierarchy instead of an integer
This commit is contained in:
parent
40c2411f2a
commit
42f6dc686f
6 changed files with 34 additions and 16 deletions
|
|
@ -97,7 +97,7 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
}).register('sidebar');
|
||||
|
||||
EscapeActions.register(40,
|
||||
EscapeActions.register('sidebarView',
|
||||
function() { return Sidebar && Sidebar.getView() !== defaultView; },
|
||||
function() { Sidebar.setView(defaultView); }
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue