Use evalAsync instead of timeout

This commit is contained in:
James Allen 2016-11-11 13:35:16 +00:00
parent 6c5c1549b6
commit 36b950ea30

View file

@ -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()
}