From 3546b3ae82c58ff4dc724838d5444614898ff618 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Mon, 27 Apr 2015 23:15:14 -0300 Subject: [PATCH] fix escape key not working in firefox --- mindplot/src/main/javascript/DesignerKeyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindplot/src/main/javascript/DesignerKeyboard.js b/mindplot/src/main/javascript/DesignerKeyboard.js index 519bebb5..48b8377c 100644 --- a/mindplot/src/main/javascript/DesignerKeyboard.js +++ b/mindplot/src/main/javascript/DesignerKeyboard.js @@ -251,7 +251,7 @@ mindplot.DesignerKeyboard = new Class({ event.stopPropagation(); } ); - var excludes = ['esc', 'f1', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12']; + var excludes = ['esc', 'escape', 'f1', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12']; $(document).on('keypress', function (event) { var keyCode;