diff --git a/public/s/js/admin.js b/public/s/js/admin.js index 175cce9..9664701 100644 --- a/public/s/js/admin.js +++ b/public/s/js/admin.js @@ -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);