diff options
author | Ananya Sen | 2012-02-01 12:00:04 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-01 12:00:04 -0800 |
commit | cac299b27fcd9e317a391236502f513f215e8d2d (patch) | |
tree | fc2fb9e341b04694ef7966d84b26e7707ee53f1b /index.html | |
parent | 553fce7721cacfd13b6013fdcdd0243c90083b5e (diff) | |
parent | d74910a897f2db920f6f67d922532d245074c8f7 (diff) | |
download | ninja-cac299b27fcd9e317a391236502f513f215e8d2d.tar.gz |
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into FileIO
Diffstat (limited to 'index.html')
-rwxr-xr-x | index.html | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -169,6 +169,10 @@ | |||
169 | 169 | ||
170 | <script type="text/javascript"> | 170 | <script type="text/javascript"> |
171 | window.onload = function() { | 171 | window.onload = function() { |
172 | // Check if we are running in Chrome | ||
173 | if(navigator.userAgent.toLowerCase().indexOf("chrome") === -1) { | ||
174 | window.location = "./redirect.html"; | ||
175 | } | ||
172 | // Load the version json | 176 | // Load the version json |
173 | var req = new XMLHttpRequest(); | 177 | var req = new XMLHttpRequest(); |
174 | req.open("GET", "versions.json"); | 178 | req.open("GET", "versions.json"); |