admin stuff

This commit is contained in:
Flummi
2021-12-23 06:07:08 +01:00
parent f87dcc8ee1
commit 2c80c58f59
4 changed files with 2 additions and 16 deletions

View File

@ -82,7 +82,7 @@ const flash = ({ type, msg }) => {
[...document.querySelectorAll("#tags > .badge")].forEach(tag => tag.parentElement.removeChild(tag));
_tags.reverse().forEach(tag => {
const a = document.createElement("a");
a.href = `/admin/test?tag=${tag.tag.replace(/\s/g, "+")}`;
a.href = `/tag/${tag.tag}`;
a.target = "_blank";
a.style = "color: inherit !important";
a.innerText = tag.tag;