From 36b950ea3040d09ca6966d12ae0d3218cb1bd14e Mon Sep 17 00:00:00 2001 From: James Allen Date: Fri, 11 Nov 2016 13:35:16 +0000 Subject: [PATCH] Use evalAsync instead of timeout --- .../ide/review-panel/directives/reviewPanelSorted.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee b/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee index 983379f04c..0b492a75c5 100644 --- a/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee +++ b/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee @@ -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() } \ No newline at end of file