Skip to content

Commit 0ab3c68

Browse files
committed
Fix the Download button, following commit f628d73 (PR #142)
1 parent 1b52f07 commit 0ab3c68

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

content/download.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>React<span class="text-ros">OS</span> {{< reactos-version >}}</h1>
1414
</div>
1515

1616
<div class="text-center">
17-
<a id="bootcd" class="buttons" href="https://sourceforge.net/projects/reactos/files/latest/download"><div class="btn btn-primary">Download Installation Medium</div></a>
17+
<a id="bootcd" class="modalbtn" href="https://sourceforge.net/projects/reactos/files/latest/download"><div class="btn btn-primary">Download Installation Medium</div></a>
1818
</div>
1919

2020
<h2>What does the Installation Medium offer?</h2>

static/js/download.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var bootcd = $("#bootcd").attr("href");
22
$("#bootcd").removeAttr("href");
33
$(".modalbtn").click(function(e){
4+
e.preventDefault();
45
$("#bootcdModal").modal("toggle");
5-
url = bootcd;
6-
$('.modal-footer a').attr("href", url)
6+
$('.modal-footer a').attr("href", bootcd)
77
});

0 commit comments

Comments
 (0)