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 +});