Merge pull request #1459 from r15ch13/noscript
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.initializeMarkers();
|
||||
|
||||
document.getElementById('NoJSWarning').remove();
|
||||
|
||||
overviewer.coordBoxClass = L.Control.extend({
|
||||
options: {
|
||||
position: 'bottomleft',
|
||||
|
||||
@@ -22,11 +22,10 @@
|
||||
|
||||
<!-- Generated at: {time} -->
|
||||
<body onload="overviewer.util.initialize()">
|
||||
<div id="mcmap">
|
||||
<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.
|
||||
Check the javascript console for error messages.
|
||||
</div>
|
||||
</div>
|
||||
<noscript style="color:white; background-color:black">
|
||||
If you can see this message, there is likely a problem loading the Overviewer JavaScript components.
|
||||
Check the JavaScript console for error messages.
|
||||
</noscript>
|
||||
<div id="mcmap"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user