diff --git a/services/web/public/coffee/main/project-list/project-list.coffee b/services/web/public/coffee/main/project-list/project-list.coffee index d84c348218..24a65d170b 100644 --- a/services/web/public/coffee/main/project-list/project-list.coffee +++ b/services/web/public/coffee/main/project-list/project-list.coffee @@ -27,8 +27,8 @@ define [ recalculateProjectListHeight = () -> $projListCard = $(".project-list-card") - topOffset = $projListCard?.offset()?.top - cardPadding = $projListCard?.outerHeight() - $projListCard?.height() + topOffset = $projListCard.offset()?.top + cardPadding = $projListCard.outerHeight() - $projListCard.height() bottomOffset = $("footer").outerHeight() height = $window.innerHeight - topOffset - bottomOffset - cardPadding $scope.projectListHeight = height