unbind space and shift+space until we do something smarter

This commit is contained in:
Athou
2013-05-06 15:13:20 +02:00
parent 5a40db90bc
commit de97062ea7
2 changed files with 2 additions and 12 deletions

View File

@@ -628,16 +628,6 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
openPreviousEntry(e); 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) { Mousetrap.bind('o', function(e) {
$scope.$apply(function() { $scope.$apply(function() {
if ($scope.current) { if ($scope.current) {

View File

@@ -1,8 +1,8 @@
<dl class="dl-horizontal"> <dl class="dl-horizontal">
<dt>k, space</dt> <dt>k</dt>
<dd>open next entry</dd> <dd>open next entry</dd>
<dt>j, shift+space</dt> <dt>j</dt>
<dd>open previous entry</dd> <dd>open previous entry</dd>
<dt>o, enter</dt> <dt>o, enter</dt>