mirror of
https://github.com/trebonian/visual6502.git
synced 2025-01-12 13:29:56 +00:00
[bug]fixup IE version extraction
This commit is contained in:
parent
e4ccdcafcd
commit
864b82d7b7
@ -13,7 +13,9 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
function handleOnload() {
|
||||
if((navigator.appName == 'Microsoft Internet Explorer') && (parseInt(navigator.appVersion,10)<9)){
|
||||
/MSIE (\d+\.\d+);/.test(navigator.appVersion);
|
||||
IEVersion=Number(RegExp.$1);
|
||||
if((navigator.appName == 'Microsoft Internet Explorer') && (IEVersion<9)){
|
||||
document.getElementById('browsertrouble').innerHTML=
|
||||
'<p>Sorry, '+navigator.appName+' not supported - showing you a picture instead!</p>';
|
||||
document.getElementById('frame').innerHTML='<a href="browsertrouble.html"><img src="images/jssim2.png" style="border:10px"></a>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user