From 1294dc815f412a9b81f96f2a4f41d2aef86590aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 30 Jul 2026 19:12:30 +0200 Subject: [PATCH] Fix the Download button following PR #142 --- static/js/download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/download.js b/static/js/download.js index d5c9bee4..796af8d7 100644 --- a/static/js/download.js +++ b/static/js/download.js @@ -2,11 +2,11 @@ var bootcd = $("#bootcd").attr("href"); var livecd = $("#livecd").attr("href"); $("#bootcd").removeAttr("href"); $("#livecd").removeAttr("href"); -$(".modalbtn").click(function(e){ +$(".buttons").click(function(e){ $("#bootcdModal").modal("toggle"); url = bootcd; if (e.target.textContent == "LiveCD") { url = livecd; } $('.modal-footer a').attr("href", url) -}); \ No newline at end of file +});