Use <noscript> to display message when JavaScript is disabled
This commit is contained in:
@@ -36,8 +36,6 @@ overviewer.util = {
|
|||||||
overviewer.util.initializePolyfills();
|
overviewer.util.initializePolyfills();
|
||||||
overviewer.util.initializeMarkers();
|
overviewer.util.initializeMarkers();
|
||||||
|
|
||||||
document.getElementById('NoJSWarning').remove();
|
|
||||||
|
|
||||||
overviewer.coordBoxClass = L.Control.extend({
|
overviewer.coordBoxClass = L.Control.extend({
|
||||||
options: {
|
options: {
|
||||||
position: 'bottomleft',
|
position: 'bottomleft',
|
||||||
|
|||||||
@@ -22,11 +22,10 @@
|
|||||||
|
|
||||||
<!-- Generated at: {time} -->
|
<!-- Generated at: {time} -->
|
||||||
<body onload="overviewer.util.initialize()">
|
<body onload="overviewer.util.initialize()">
|
||||||
<div id="mcmap">
|
<noscript style="color:white; background-color:black">
|
||||||
<div id="NoJSWarning" style="color:white; background-color:black">
|
If you can see this message, there is likely a problem loading the Overviewer JavaScript components.
|
||||||
If you can see this message, there is likely a problem loading the Overviewer javascript components.
|
Check the JavaScript console for error messages.
|
||||||
Check the javascript console for error messages.
|
</noscript>
|
||||||
</div>
|
<div id="mcmap"></div>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user