# HG changeset patch
# User Maciej Fijalkowski <fijall@gmail.com>
# Date 1268155882 0
#      Tue Mar 09 17:31:22 2010 +0000
# Branch extradoc
# Node ID 3e230e074f34f9d839f16f84c34d5bde8d849713
# Parent  e3cc2a103f7a7ec0f2971ecae45874eb08380b24
Add a failsafe here that goes to download page

diff --git a/js/detect.js b/js/detect.js
--- a/js/detect.js
+++ b/js/detect.js
@@ -11,7 +11,8 @@
         download_url = 'download/pypy-1.2-mac.tar.bz2';
         downloat_text = 'Download Mac OS X 10.6 bin';
     } else {
-        return;
+        download_url = "download.html";
+        download_text = "Download page";
     }
     $("#main_download").attr('href', download_url);
     $("#main_download").text(download_text);