From 42f6dc686f313ba294e3cbcfb0ebde50678580fe Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Wed, 27 May 2015 02:48:15 +0200 Subject: Prioritize escape actions with a label hierarchy instead of an integer --- client/components/boards/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/boards') 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')); } ); -- cgit v1.2.3-1-g7c22