mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 10:53:03 +00:00
Disallow toggling track-changes via keyboard if not available on project
This commit is contained in:
parent
d184c9c555
commit
88923a314d
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