Make sure layout math is done on load.

This commit is contained in:
Paulo Reis 2017-01-25 10:31:02 +00:00
parent cc717f0357
commit f11926d0a9

View file

@ -14,10 +14,9 @@ define [
$scope.searchText =
value : ""
if $scope.projects.length == 0
$timeout () ->
recalculateProjectListHeight()
, 10
$timeout () ->
recalculateProjectListHeight()
, 10
recalculateProjectListHeight = () ->
topOffset = $(".project-list-card")?.offset()?.top