From 2726af2d8134c54261cfe5394c402e93348704cf Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Sun, 8 Apr 2018 13:10:06 +0200 Subject: [PATCH] Remove jquery from ShortcutService.js --- src/js/service/keyboard/ShortcutService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/service/keyboard/ShortcutService.js b/src/js/service/keyboard/ShortcutService.js index 0bb20a1c..55e1c67b 100644 --- a/src/js/service/keyboard/ShortcutService.js +++ b/src/js/service/keyboard/ShortcutService.js @@ -9,7 +9,7 @@ * @public */ ns.ShortcutService.prototype.init = function() { - $(document.body).keydown($.proxy(this.onKeyDown_, this)); + document.body.addEventListener('keydown', this.onKeyDown_.bind(this)); }; /**