Fixed IE 11 detection so that support message is correctly shown.

This commit is contained in:
n1474335 2018-01-10 18:38:17 +00:00
parent 6f59d9217c
commit fa938f832f
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@
<span id="notice">
<script type="text/javascript">
// Must be text/javascript rather than application/javascript otherwise IE won't recognise it...
if (navigator.userAgent && navigator.userAgent.match(/MSIE \d\d?\./)) {
if (navigator.userAgent && navigator.userAgent.match(/Trident/)) {
document.write("Internet Explorer is not supported, please use Firefox or Chrome instead");
alert("Internet Explorer is not supported, please use Firefox or Chrome instead");
}