From de97062ea78a64d37e0c504c249b48cd10b626f7 Mon Sep 17 00:00:00 2001 From: Athou Date: Mon, 6 May 2013 15:13:20 +0200 Subject: [PATCH] unbind space and shift+space until we do something smarter --- src/main/webapp/js/controllers.js | 10 ---------- src/main/webapp/templates/_shortcuts.html | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index 514a8c85..01a3eb76 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -628,16 +628,6 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer openPreviousEntry(e); }); }); - Mousetrap.bind('space', function(e) { - $scope.$apply(function() { - openNextEntry(e); - }); - }); - Mousetrap.bind('shift+space', function(e) { - $scope.$apply(function() { - openPreviousEntry(e); - }); - }); Mousetrap.bind('o', function(e) { $scope.$apply(function() { if ($scope.current) { diff --git a/src/main/webapp/templates/_shortcuts.html b/src/main/webapp/templates/_shortcuts.html index b2fccbd1..519b013d 100644 --- a/src/main/webapp/templates/_shortcuts.html +++ b/src/main/webapp/templates/_shortcuts.html @@ -1,8 +1,8 @@
-
k, space
+
k
open next entry
-
j, shift+space
+
j
open previous entry
o, enter