From 2754066085236485a3ca92d333b415d516371365 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 21 Nov 2023 22:28:11 +0800 Subject: [PATCH] Update tag.html --- templates/tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/tag.html b/templates/tag.html index 3d36ae4..ba8a12a 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -92,8 +92,8 @@ function showList(jsonData){ showLabels.setAttribute("class","Label"); showLabels.setAttribute("style","background-color:"+jsonData["postListJson"][i]['labelColor']); showLabels.innerHTML=jsonData["postListJson"][i]['label']; - showLabels.setAttribute("href",'#'+jsonData["postListJson"][i]['label']); - showLabels.setAttribute("onclick",'javascript:location.reload();'); + // showLabels.setAttribute("href",'#'+jsonData["postListJson"][i]['label']); + showLabels.setAttribute("onclick","window.location.href='#'"+jsonData['postListJson'][i]['label']); tagLable.appendChild(showLabels); }