summaryrefslogtreecommitdiffstats
path: root/client/components/main/editor.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/main/editor.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/main/editor.js')
-rw-r--r--client/components/main/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/main/editor.js b/client/components/main/editor.js
index 95a8dc5d..a35ecd06 100644
--- a/client/components/main/editor.js
+++ b/client/components/main/editor.js
@@ -60,7 +60,7 @@ Template.editor.onRendered(function() {
});
});
-EscapeActions.register(10,
+EscapeActions.register('textcomplete',
function() { return dropdownMenuIsOpened; },
function() {}
);