Fixed IE 11 detection so that support message is correctly shown.
This commit is contained in:
parent
6f59d9217c
commit
fa938f832f
@ -118,7 +118,7 @@
|
|||||||
<span id="notice">
|
<span id="notice">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// Must be text/javascript rather than application/javascript otherwise IE won't recognise it...
|
// 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");
|
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");
|
alert("Internet Explorer is not supported, please use Firefox or Chrome instead");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user