mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add in extra check to set ui state
This commit is contained in:
parent
d9b774bb9b
commit
30618d33db
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ define [
|
|||
want = @$scope.editor.wantTrackChanges
|
||||
have = doc.getTrackingChanges()
|
||||
if want == have
|
||||
@$scope.editor.trackChanges = want
|
||||
return
|
||||
|
||||
do tryToggle = () =>
|
||||
|
|
Loading…
Reference in a new issue