From ff7d3dc23c6f4affc7f4661b6697979b6d8140e7 Mon Sep 17 00:00:00 2001 From: HauErn Lien <lienhe81@gmail.com> Date: Tue, 1 Oct 2024 18:44:01 +0000 Subject: [PATCH] Update file tryhomepage.html --- wiki/pages/tryhomepage.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wiki/pages/tryhomepage.html b/wiki/pages/tryhomepage.html index 6916c561..873fc8ae 100644 --- a/wiki/pages/tryhomepage.html +++ b/wiki/pages/tryhomepage.html @@ -101,6 +101,7 @@ let link = document.createElement('link'); link.rel = 'prefetch'; // Preload the page link.href = nextPage; + document.head.appendChild(link); window.addEventListener('DOMContentLoaded', ()=>{ @@ -128,7 +129,7 @@ intro.classList.add('fade-out'); }) setTimeout(()=>{ - window.location.href = '/tsinghua/random'; + window.location.href = nextPage; }, 500); }, 2300) -- GitLab