Skip to content
Snippets Groups Projects
Commit 3e230e074f34 authored by Maciej Fijalkowski's avatar Maciej Fijalkowski
Browse files

Add a failsafe here that goes to download page

parent e3cc2a103f7a
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
download_url = 'download/pypy-1.2-mac.tar.bz2'; download_url = 'download/pypy-1.2-mac.tar.bz2';
downloat_text = 'Download Mac OS X 10.6 bin'; downloat_text = 'Download Mac OS X 10.6 bin';
} else { } else {
return; download_url = "download.html";
download_text = "Download page";
} }
$("#main_download").attr('href', download_url); $("#main_download").attr('href', download_url);
$("#main_download").text(download_text); $("#main_download").text(download_text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment