1
0
forked from fr/deguapp
deguapp/frontend-plain/js/home.js

6 lines
145 B
JavaScript
Raw Permalink Normal View History

qSA(".card-beer").forEach(el => {
el.addEventListener("click", (e) => {
window.location.href = "/beer/" + el.querySelector("img").id
})
});