forked from Archives/Athou_commafeed
scroll to entry on click in expanded view (#76)
This commit is contained in:
@@ -578,6 +578,12 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
|
||||
$scope.mark(entry, true);
|
||||
}
|
||||
};
|
||||
$scope.bodyClicked = function(entry, event) {
|
||||
if (SettingsService.settings.viewMode == 'expanded' && $scope.current != entry) {
|
||||
$scope.entryClicked(entry, event);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
$scope.noop = function(event) {
|
||||
if (!event.ctrlKey && event.which != 2) {
|
||||
|
||||
Reference in New Issue
Block a user