Skip to content

Commit

Permalink
added wait for first structure
Browse files Browse the repository at this point in the history
  • Loading branch information
piecole committed Nov 14, 2024
1 parent fdbc555 commit 885f439
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};

Expand Down

0 comments on commit 885f439

Please sign in to comment.