diff options
author | Valerio Virgillito | 2012-01-30 23:39:35 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-30 23:39:35 -0800 |
commit | dda0b77737991d68e4a8a5ca95154a373f8bc84e (patch) | |
tree | fdaffc1c7babe5628632c1608d8595a3bc0c2f23 /index.html | |
parent | ad81ae4c61eb5857cd444ef0caf5b0b33e8072ba (diff) | |
parent | e4837edab24868a7c093a2a70e8ec3585e1007d8 (diff) | |
download | ninja-dda0b77737991d68e4a8a5ca95154a373f8bc84e.tar.gz |
Merge branch 'master' into components
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"); |