hatecomputers.club/static/js/components/infoBanners.js

7 lines
188 B
JavaScript

const infoBanners = document.querySelectorAll(".info");
Array.from(infoBanners).forEach((infoBanner) => {
infoBanner.addEventListener("click", () => {
infoBanner.remove();
});
});