From 885f43992422bc47333c65002c0f2a7e94fd9b36 Mon Sep 17 00:00:00 2001 From: Pierre Coleman <4pierre.coleman@gmail.com> Date: Thu, 14 Nov 2024 14:31:49 +0000 Subject: [PATCH] added wait for first structure --- search.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/search.js b/search.js index ad1713123..61da6d131 100644 --- a/search.js +++ b/search.js @@ -344,7 +344,10 @@ if (structurePage == true) { let hash = window.location.hash.substring(1) tabClick(hash); }else{ - tabClick(0); + // Wait a couple of seconds to load the first structure + setTimeout(function() { + tabClick(0); + }, 2000); } };