summaryrefslogtreecommitdiffstats
path: root/client/components/boards/router.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-27 02:48:15 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-27 02:48:15 +0200
commit42f6dc686f313ba294e3cbcfb0ebde50678580fe (patch)
treedc14152cc8c98895f800c84cd2737fe6a5b22b7f /client/components/boards/router.js
parent40c2411f2a1ce0bbd177f377828f9d6700112b06 (diff)
downloadwekan-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.js2
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')); }
);