diff --git a/dist/index.html b/dist/index.html index a00ac7b06..b3e7c19e3 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,7 +1,6 @@ - iD @@ -36,8 +35,8 @@ a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0013/6714.js?"+Math.floor(new Date().getTime()/3600000); a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1); - if (typeof iD == 'undefined') { - document.getElementById('id-container').innerHTML = 'Sorry, Internet Explorer is not currently supported. Please use Potlatch 2 to edit the map.'; + if (typeof iD == 'undefined' || !iD.detect().support) { + document.getElementById('id-container').innerHTML = 'Sorry, your browser is not currently supported. Please use Potlatch 2 to edit the map.'; document.getElementById('id-container').className = 'unsupported'; } else { var id = iD() diff --git a/index.html b/index.html index 24410198f..42522a2bf 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,6 @@ - iD