diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-05-27 02:48:15 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-05-27 02:48:15 +0200 |
commit | 42f6dc686f313ba294e3cbcfb0ebde50678580fe (patch) | |
tree | dc14152cc8c98895f800c84cd2737fe6a5b22b7f /client/components/boards/router.js | |
parent | 40c2411f2a1ce0bbd177f377828f9d6700112b06 (diff) | |
download | wekan-42f6dc686f313ba294e3cbcfb0ebde50678580fe.tar.gz wekan-42f6dc686f313ba294e3cbcfb0ebde50678580fe.tar.bz2 wekan-42f6dc686f313ba294e3cbcfb0ebde50678580fe.zip |
Prioritize escape actions with a label hierarchy instead of an integer
Diffstat (limited to 'client/components/boards/router.js')
-rw-r--r-- | client/components/boards/router.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/boards/router.js b/client/components/boards/router.js index 80fadd9e..81fc3d91 100644 --- a/client/components/boards/router.js +++ b/client/components/boards/router.js @@ -57,7 +57,7 @@ Router.route('/boards/:boardId/:slug/:cardId', { }); // Close the card details pane by pressing escape -EscapeActions.register(50, +EscapeActions.register('detailedPane', function() { return ! Session.equals('currentCard', null); }, function() { Utils.goBoardId(Session.get('currentBoard')); } ); |