From 0c653e2692724915b5086a58dcf37f5d7158d412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Sun, 14 Feb 2021 12:39:56 +0100 Subject: [PATCH] Mobile compatibility fix for small screens --- scripts/explorer.js | 2 +- scripts/exposition.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/explorer.js b/scripts/explorer.js index 99a8c3e..62e08da 100644 --- a/scripts/explorer.js +++ b/scripts/explorer.js @@ -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; } diff --git a/scripts/exposition.js b/scripts/exposition.js index 66c3cb8..bf6491a 100644 --- a/scripts/exposition.js +++ b/scripts/exposition.js @@ -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; }