# HG changeset patch # User Maciej Fijalkowski <fijall@gmail.com> # Date 1268156027 0 # Tue Mar 09 17:33:47 2010 +0000 # Branch extradoc # Node ID 5b0f56426f831f8181b19a2f6ee34ae9aca8d03d # Parent 3e230e074f34f9d839f16f84c34d5bde8d849713 change windows to win diff --git a/js/detect.js b/js/detect.js --- a/js/detect.js +++ b/js/detect.js @@ -4,7 +4,7 @@ if (navigator.platform.indexOf('Linux') != -1) { download_url = 'download/pypy-1.2.tar.bz2'; download_text = 'Download linux i386 bin'; - } else if (navigator.platform.indexOf('Windows') != -1) { + } else if (navigator.platform.indexOf('Win') != -1) { download_url = 'download/pypy-1.2-win32.zip'; download_text = 'Download Windows i386 bin'; } else if (navigator.platform.indexOf('Mac') != 1) {