There was an error while loading. Please reload this page.
1 parent f251842 commit 6b94814Copy full SHA for 6b94814
1 file changed
docs/index.html
@@ -1242,6 +1242,19 @@ <h3>No project upload</h3>
1242
await loadReleaseData();
1243
}
1244
1245
+ // Force animated SVG to restart on reload
1246
+ const loaderLogo = document.querySelector(".loader-logo");
1247
+ if (loaderLogo) {
1248
+ const timestamp = Date.now();
1249
+ const picture = loaderLogo.closest("picture");
1250
+ if (picture) {
1251
+ picture.querySelectorAll("source").forEach(s => {
1252
+ if (s.srcset) s.srcset = s.srcset.split("?")[0] + "?t=" + timestamp;
1253
+ });
1254
+ }
1255
+ loaderLogo.src = loaderLogo.src.split("?")[0] + "?t=" + timestamp;
1256
1257
+
1258
document.body.classList.remove("loaded");
1259
1260
window.addEventListener("load", () => {
0 commit comments