Created svetle app
This commit is contained in:
5
frontend-plain/js/home.js
Normal file
5
frontend-plain/js/home.js
Normal file
@@ -0,0 +1,5 @@
|
||||
qSA(".card-beer").forEach(el => {
|
||||
el.addEventListener("click", (e) => {
|
||||
window.location.href = "/beer/" + el.querySelector("img").id
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user