From bfbb959cf89d4711f05e7f1f3b9f52ddaa8203f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Sun, 14 Feb 2021 12:42:57 +0100 Subject: [PATCH] New fix for small screen pagination --- scripts/explorer.js | 4 ++-- scripts/exposition.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/explorer.js b/scripts/explorer.js index 62e08da..1c00982 100644 --- a/scripts/explorer.js +++ b/scripts/explorer.js @@ -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; diff --git a/scripts/exposition.js b/scripts/exposition.js index bf6491a..9e2ddb7 100644 --- a/scripts/exposition.js +++ b/scripts/exposition.js @@ -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;