Fixed issue with hiding/showing the last video on resize

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-12 17:17:32 +01:00
parent 5ff69f557b
commit 35a428b801
6 changed files with 22 additions and 13 deletions

View File

@@ -94,7 +94,7 @@ var List = {
{
if(!Helper.mobilecheck() && !embed){
List.can_fit = Math.round(($("#wrapper").height()) / 71)+1;
List.element_height = (($("#wrapper").height()) / List.can_fit)-6;
List.element_height = (($("#wrapper").height()) / List.can_fit)-5.3;
} else if(embed) {
List.can_fit = Math.round(($("#wrapper").height()) / 91) + 1;
List.element_height = (($("#wrapper").height()) / List.can_fit)-4;