Skip to content
Snippets Groups Projects
Commit a27a0b14 authored by HerrWaechter's avatar HerrWaechter
Browse files

removed allert

parent ec9fbaeb
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@ const boxes = document.querySelectorAll('.box');
boxes.forEach((box) => {
box.addEventListener('click', function(e) {
alert('will redirect to:' + e.target.getAttribute('data-href'));
window.location.href = e.target.getAttribute('data-href');
});
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment