From a27a0b142f15ca0e78a7e7fedb489a8223b1c2c7 Mon Sep 17 00:00:00 2001 From: HerrWaechter <len.kalski@stud.uni-hannover.de> Date: Thu, 2 Jan 2025 15:04:36 +0100 Subject: [PATCH] removed allert --- source/script.js | 1 - 1 file changed, 1 deletion(-) diff --git a/source/script.js b/source/script.js index de0599a..7293b6a 100644 --- a/source/script.js +++ b/source/script.js @@ -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 -- GitLab