fix firefox middle click not marking entries

This commit is contained in:
Athou
2013-04-18 16:50:02 +02:00
parent db8fc29d4f
commit 2ba028bacc
2 changed files with 8 additions and 1 deletions

View File

@@ -378,6 +378,13 @@ module.controller('FeedListCtrl', function($scope, $stateParams, $http, $route,
$scope.mark(entry, true);
}
};
$scope.noop = function(event){
if (!event.ctrlKey && event.which != 2) {
event.preventDefault();
event.stopPropagation();
}
}
var openNextEntry = function(event) {
var entry = null;