Add in extra check to set ui state

This commit is contained in:
James Allen 2017-01-27 17:13:11 +01:00
parent d9b774bb9b
commit 30618d33db

View file

@ -164,6 +164,7 @@ define [
want = @$scope.editor.wantTrackChanges
have = doc.getTrackingChanges()
if want == have
@$scope.editor.trackChanges = want
return
do tryToggle = () =>