From 55a044a670f319e9a304d48de637131c7f8d6fb8 Mon Sep 17 00:00:00 2001 From: cxykevin Date: Mon, 12 Aug 2024 08:50:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20theme/js/page.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/js/page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/js/page.js b/theme/js/page.js index 254c643..2da3510 100644 --- a/theme/js/page.js +++ b/theme/js/page.js @@ -46,7 +46,7 @@ function changePage(url) { var title = virtualtag.getElementsByTagName("title")[0].innerText; old_tag.innerHTML = virtualtag.getElementsByClassName("mdui-prose")[0].innerHTML; old_topbar_tag.innerHTML = virtualtag.getElementsByClassName("topbar")[0].innerHTML; - old_navcard_tag.innerHTML = document.getElementById("navcard").innerHTML; + old_navcard_tag.innerHTML = virtualtag.getElementById("navcard").innerHTML; var elements = document.querySelectorAll('[active]'); elements.forEach(element => {