1
0
mirror of synced 2024-11-16 03:03:22 +01:00

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

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");
}