mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-07 05:34:01 +00:00
Make sure layout math is done on load.
This commit is contained in:
parent
cc717f0357
commit
f11926d0a9
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue