Skip to content

Commit

Permalink
remove unsupported
Browse files Browse the repository at this point in the history
  • Loading branch information
kaheetonaa committed Sep 25, 2024
1 parent 6daffa5 commit dbaf3f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@


function checkScript() {
if (typeof iD === 'undefined' || !iD.utilDetect().support) {
container.innerHTML = 'Sorry, your browser is not currently supported. Please use another <a href="https://github.com/openstreetmap/iD#basics">browser</a> or <a href="https://wiki.openstreetmap.org/wiki/Editors">editor</a> to contribute to the map.';
container.style.padding = '20px';
//if (typeof iD === 'undefined' || !iD.utilDetect().support) {
//container.innerHTML = 'Sorry, your browser is not currently supported. Please use another <a href="https://github.com/openstreetmap/iD#basics">browser</a> or <a href="https://wiki.openstreetmap.org/wiki/Editors">editor</a> to contribute to the map.';
//container.style.padding = '20px';

} else {
//} else {
var context = iD.coreContext()
.assetPath('dist/')
.containerNode(container);
Expand All @@ -52,7 +52,7 @@
if (!q.hasOwnProperty('disable_features')) {
context.features().disable('boundaries');
}
}
//}
}
</script>
</body>
Expand Down

0 comments on commit dbaf3f2

Please sign in to comment.