Update tag.html

This commit is contained in:
Meekdai 2023-11-21 22:18:44 +08:00
parent d970382ebb
commit dbbc15e095

View File

@ -93,6 +93,7 @@ function showList(jsonData){
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();');
tagLable.appendChild(showLabels);
}
@ -138,7 +139,5 @@ function showList(jsonData){
}
}
window.onhashchange=function(event){location.reload();}
</script>
{% endblock %}