mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
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