This commit is contained in:
Flummi
2021-06-24 05:10:55 +02:00
parent f3e357d8a4
commit 5b7dd4293c
9 changed files with 53 additions and 12 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, "%20")}`;
a.href = `/admin/test?tag=${tag.tag.replace(/\s/g, "+")}`;
a.target = "_blank";
a.style = "color: inherit !important";
a.innerText = tag.tag;