Mobile compatibility fix for small screens

This commit is contained in:
Théo Marchal 2021-02-14 12:39:56 +01:00
parent e7107c20b9
commit 0c653e2692
2 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ jQuery(document).ready(function($)
if (window.innerWidth >= 600)
return 6;
else if (window.innerWidth < 600 && window.innerWidth > 450)
return 4;
return 3;
else
return 2;
}

View File

@ -43,7 +43,7 @@ jQuery(document).ready(function($)
if (window.innerWidth >= 600)
return null;
else if (window.innerWidth < 600 && window.innerWidth > 450)
return 4;
return 3;
else
return 2;
}