mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use evalAsync instead of timeout
This commit is contained in:
parent
6c5c1549b6
commit
36b950ea30
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ define [
|
|||
|
||||
scope.$watch "reviewPanel.entries", (value) ->
|
||||
return if !value?
|
||||
$timeout () ->
|
||||
scope.$evalAsync () ->
|
||||
layout()
|
||||
|
||||
scope.$on "review-panel:layout", () ->
|
||||
$timeout () ->
|
||||
scope.$evalAsync () ->
|
||||
layout()
|
||||
}
|
Loading…
Reference in a new issue