New fix for small screen pagination

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

View File

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

View File

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