fix spacing after tagging

This commit is contained in:
Flummi 2022-05-23 05:43:14 +00:00
parent f8cc9f1dc0
commit f2ba18d186

View File

@ -101,6 +101,7 @@ const flash = ({ type, msg }) => {
delbutton.href = "#";
delbutton.addEventListener("click", deleteEvent);
span.insertAdjacentElement("beforeend", a);
span.innerHTML += ' ';
span.insertAdjacentElement("beforeend", delbutton);
document.querySelector("#tags").insertAdjacentElement("afterbegin", span);