mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #579 from sharelatex/sk-tc-toggle-access-control
Disallow toggling track-changes via keyboard if not available on project
This commit is contained in:
commit
2c8e16ff4a
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ define [
|
|||
applyTrackChangesStateToClient(state)
|
||||
|
||||
$scope.toggleTrackChangesFromKbdShortcut = () ->
|
||||
if !$scope.project.features.trackChangesVisible
|
||||
if !($scope.project.features.trackChangesVisible && $scope.project.features.trackChanges)
|
||||
return
|
||||
$scope.toggleTrackChangesForUser !$scope.reviewPanel.trackChangesState[ide.$scope.user.id].value, ide.$scope.user.id
|
||||
|
||||
|
|
Loading…
Reference in a new issue