Fixing hotkeys issues

This commit is contained in:
Bruno Alves de Faria committed 2018-03-07 08:25:59 -03:00
1 parent f4e76d9544
commit 68f7626515
2 files changed
+15 -9

No files matched your search

@@ -34,6 +34,7 @@ export class HotkeysContext {
const bind = hotkey => $(document).bind(bindingKey, hotkey, event => {
if (!this.enabled.get()) return;
OHIF.commands.run(command);
event.preventDefault();
});
if (hotkey instanceof Array) {