From c596304d102c754d912c8e0bff98a008b6a59a29 Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Sun, 27 Aug 2023 17:33:56 +0200 Subject: [PATCH] Disable AJAX for static scoreboard. --- webapp/src/Service/ScoreboardService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/Service/ScoreboardService.php b/webapp/src/Service/ScoreboardService.php index 921d6ba803..3629c7ce1b 100644 --- a/webapp/src/Service/ScoreboardService.php +++ b/webapp/src/Service/ScoreboardService.php @@ -885,7 +885,7 @@ public function getScoreboardTwigData( 'refresh' => [ 'after' => 30, 'url' => $refreshUrl, - 'ajax' => true, + 'ajax' => !$static, ], 'static' => $static, ];