From 205da0e9005301910589163354954b3788fd4fd0 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Tue, 24 Oct 2023 22:31:01 +0200 Subject: [PATCH] Revert "Delay rendering map as otherwise it is not shown in sections collapsed by MobileFrontend." This does not work in all cases and we found a better solution (to be committed). --- wrmap.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wrmap.js b/wrmap.js index a9e683f..145e2ac 100644 --- a/wrmap.js +++ b/wrmap.js @@ -326,6 +326,4 @@ function init_wrmaps() { } -$(document).ready( - function() {setTimeout(init_wrmaps, 1000);} // we need to delay that since otherwise the map is not shown in sections collapsed by MobileFrontent -); +$(document).ready(init_wrmaps); -- 2.39.5