mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Trigger an angular digest after updating vars
This commit is contained in:
parent
e64e388913
commit
bd8765a75f
1 changed files with 2 additions and 0 deletions
|
@ -85,8 +85,10 @@ define [
|
|||
# TODO: remove after rollout and testing
|
||||
window.turnOnTokenAccessUI = () ->
|
||||
$scope.__enableTokenAccessUI = true
|
||||
$scope.$digest
|
||||
window.turnOffTokenAccessUI = () ->
|
||||
$scope.__enableTokenAccessUI = false
|
||||
$scope.$digest
|
||||
|
||||
$scope.$watch "project.features.trackChangesVisible", (visible) ->
|
||||
return if !visible?
|
||||
|
|
Loading…
Reference in a new issue