Commit ff0a23b4 authored by sajolida's avatar sajolida

Deduplicate ids

parent 5b2ad82a
......@@ -199,7 +199,9 @@ document.addEventListener("DOMContentLoaded", function() {
// Direct download
document.getElementById("download-img").onclick = function(e) { download(e, this); }
document.getElementById("download-img-retry").onclick = function(e) { download(e, this); }
document.getElementById("download-iso").onclick = function(e) { download(e, this); }
document.getElementById("download-iso-retry").onclick = function(e) { download(e, this); }
function download(e, elm) {
try {
......
......@@ -19,11 +19,11 @@ were solved, and known issues that have already been identified.</p>
<h3><span class="step-number"><span class="usb upgrade">1.</span>1</span>Download Tails</h3>
<div class="usb upgrade download-only-img indent">
<a href="[[!inline pages="inc/stable_amd64_img_url" raw="yes" sort="age"]]" id="download-img" class="use-mirror-pool button">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] USB image (<span class="remove-extra-space">[[!inline pages="inc/stable_amd64_img_size" raw="yes" sort="age"]]</span>)</a>
<a href="[[!inline pages="inc/stable_amd64_img_url" raw="yes" sort="age"]]" id="download-img" class="use-mirror-pool-on-retry button">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] USB image (<span class="remove-extra-space">[[!inline pages="inc/stable_amd64_img_size" raw="yes" sort="age"]]</span>)</a>
<a href="[[!inline pages="inc/stable_amd64_img_url" raw="yes" sort="age"]]" id="download-img-retry" class="use-mirror-pool-on-retry button">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] USB image (<span class="remove-extra-space">[[!inline pages="inc/stable_amd64_img_size" raw="yes" sort="age"]]</span>)</a>
</div>
<div class="dvd vm download-only-iso indent">
<a href="[[!inline pages="inc/stable_amd64_iso_url" raw="yes" sort="age"]]" id="download-iso" class="use-mirror-pool button">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] ISO image (<span class="remove-extra-space">[[!inline pages="inc/stable_amd64_iso_size" raw="yes" sort="age"]]</span>)</a>
<a href="[[!inline pages="inc/stable_amd64_iso_url" raw="yes" sort="age"]]" id="download-iso" class="use-mirror-pool-on-retry button">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] ISO image (<span class="remove-extra-space">[[!inline pages="inc/stable_amd64_iso_size" raw="yes" sort="age"]]</span>)</a>
<a href="[[!inline pages="inc/stable_amd64_iso_url" raw="yes" sort="age"]]" id="download-iso-retry" class="use-mirror-pool-on-retry button">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] ISO image (<span class="remove-extra-space">[[!inline pages="inc/stable_amd64_iso_size" raw="yes" sort="age"]]</span>)</a>
</div>
<div id="download-minor" class="indent">
<p id="bittorrent">
......
......@@ -20,7 +20,8 @@
#skip-download,
#tails-version,
#try-another-mirror,
.use-mirror-pool-on-retry {
#download-img-retry,
#download-iso-retry {
display: none;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment