From bc4aa3e40a49116d30feddfac2cda0f2a88ba243 Mon Sep 17 00:00:00 2001 From: azivner Date: Sun, 4 Feb 2018 18:12:17 -0500 Subject: [PATCH] removed ctrl+shift+left, ctrl+shift+right because of conflict with standard keyboard mapping, close #25 --- src/public/javascripts/init.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/public/javascripts/init.js b/src/public/javascripts/init.js index 3bba5f4b2..138d23f62 100644 --- a/src/public/javascripts/init.js +++ b/src/public/javascripts/init.js @@ -54,24 +54,6 @@ $(document).bind('keydown', 'ctrl+f', () => { } }); -$(document).bind('keydown', "ctrl+shift+left", () => { - const node = noteTree.getCurrentNode(); - node.navigate($.ui.keyCode.LEFT, true); - - $("#note-detail").focus(); - - return false; -}); - -$(document).bind('keydown', "ctrl+shift+right", () => { - const node = noteTree.getCurrentNode(); - node.navigate($.ui.keyCode.RIGHT, true); - - $("#note-detail").focus(); - - return false; -}); - $(document).bind('keydown', "ctrl+shift+up", () => { const node = noteTree.getCurrentNode(); node.navigate($.ui.keyCode.UP, true);