From 11bf85fccb4eb838aca83ae83c02e2f16f843e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=8C=E4=BA=8B=E5=85=89?= Date: Wed, 15 Nov 2023 10:41:31 +0900 Subject: [PATCH] fix disease nav link --- static/js/disease.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/disease.js b/static/js/disease.js index 527e09a..ef1728a 100644 --- a/static/js/disease.js +++ b/static/js/disease.js @@ -553,7 +553,7 @@ function switchingDisplayContents(selectedItemId) { } function selectedItem() { - const links = document.querySelectorAll('.nav-link'); + const links = document.querySelectorAll('#temp-side-navigation .nav-link'); links.forEach((link) => { link.addEventListener('click', (event) => {