diff options
author | Valerio Virgillito | 2012-01-30 23:21:17 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-30 23:21:17 -0800 |
commit | 783a13fa39eb6d32b5a280282fba7baf303c17ac (patch) | |
tree | 94fbfe8c48230c97eb1737cb17561ad1f9a6aff6 /index.html | |
parent | df018322f823392fd7da56a42cddcab5473b0f0a (diff) | |
parent | a46e1ba07cccc2fbf1c81c1d35308971440a3968 (diff) | |
download | ninja-783a13fa39eb6d32b5a280282fba7baf303c17ac.tar.gz |
Merge branch 'core' of https://github.com/mencio/ninja-internal into mencio-core
Conflicts:
index.html
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -168,6 +168,10 @@ | |||
168 | 168 | ||
169 | <script type="text/javascript"> | 169 | <script type="text/javascript"> |
170 | window.onload = function() { | 170 | window.onload = function() { |
171 | // Check if we are running in Chrome | ||
172 | if(navigator.userAgent.toLowerCase().indexOf("chrome") === -1) { | ||
173 | window.location = "./redirect.html"; | ||
174 | } | ||
171 | // Load the version json | 175 | // Load the version json |
172 | var req = new XMLHttpRequest(); | 176 | var req = new XMLHttpRequest(); |
173 | req.open("GET", "versions.json"); | 177 | req.open("GET", "versions.json"); |