Skip to content

Commit 0a55154

Browse files
authored
Merge pull request #130 from fontforge/download-redirect-2019-1
Add automatic redirection for downloads.
2 parents 43b66a0 + e7f8b06 commit 0a55154

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

en-US/downloads/gnulinux.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Thanks. Continue <a href="../gnulinux-dl">this way</a>.
4848
function downloadClicked() {
4949
document.getElementById("emls_box").style.display = "none";
5050
document.getElementById("dl_continue_box").style.display = "inline";
51+
window.setTimeout(function () { window.location.href = "http://fontforge.github.io/en-US/downloads/gnulinux-dl/"; }, 500);
5152
}
5253
function subscribeClicked() {
5354
document.forms["emls_sform"]["email"].value = document.forms["emls_vform"]["email"].value;

en-US/downloads/mac.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Thanks. Continue <a href="../mac-dl">this way</a>.
4848
function downloadClicked() {
4949
document.getElementById("emls_box").style.display = "none";
5050
document.getElementById("dl_continue_box").style.display = "inline";
51+
window.setTimeout(function () { window.location.href = "http://fontforge.github.io/en-US/downloads/mac-dl/"; }, 500);
5152
}
5253
function subscribeClicked() {
5354
document.forms["emls_sform"]["email"].value = document.forms["emls_vform"]["email"].value;

en-US/downloads/windows.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Thanks. Continue <a href="../windows-dl">this way</a>.
4848
function downloadClicked() {
4949
document.getElementById("emls_box").style.display = "none";
5050
document.getElementById("dl_continue_box").style.display = "inline";
51+
window.setTimeout(function () { window.location.href = "http://fontforge.github.io/en-US/downloads/windows-dl/"; }, 500);
5152
}
5253
function subscribeClicked() {
5354
document.forms["emls_sform"]["email"].value = document.forms["emls_vform"]["email"].value;

0 commit comments

Comments
 (0)