Make sure layout math is done on load.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user