diff options
author | Jose Antonio Marquez | 2012-01-31 16:00:36 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-01-31 16:00:36 -0800 |
commit | 67097a84b13199a6e7ee3185f1c5521208f1732f (patch) | |
tree | be812e83d0a7db84fba2d87c3610b3ed45c10569 /index.html | |
parent | e75223a2c4c1e13d66639841e6418e94fe9b726f (diff) | |
parent | b01b586a26ae47d329bdd5fe005051513711fab7 (diff) | |
download | ninja-67097a84b13199a6e7ee3185f1c5521208f1732f.tar.gz |
Merge branch 'refs/heads/NinjaInternal' 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"); |