fullscren support (fix #310)

This commit is contained in:
Athou
2013-06-29 19:37:21 +02:00
parent c3116f075e
commit e01ec129ce
3 changed files with 17 additions and 0 deletions

View File

@@ -1056,6 +1056,10 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
}
});
Mousetrap.bind('f', function(e) {
$('body').toggleClass('full-screen');
});
Mousetrap.bind('?', function(e) {
$scope.$apply(function() {
$scope.shortcutsModal = true;