master #50
|
@ -101,6 +101,7 @@ const flash = ({ type, msg }) => {
|
||||||
delbutton.href = "#";
|
delbutton.href = "#";
|
||||||
delbutton.addEventListener("click", deleteEvent);
|
delbutton.addEventListener("click", deleteEvent);
|
||||||
span.insertAdjacentElement("beforeend", a);
|
span.insertAdjacentElement("beforeend", a);
|
||||||
|
span.innerHTML += ' ';
|
||||||
span.insertAdjacentElement("beforeend", delbutton);
|
span.insertAdjacentElement("beforeend", delbutton);
|
||||||
|
|
||||||
document.querySelector("#tags").insertAdjacentElement("afterbegin", span);
|
document.querySelector("#tags").insertAdjacentElement("afterbegin", span);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user