Rename overlay
This commit is contained in:
parent
5e07bcf8f9
commit
edc3b45b74
@ -28,7 +28,7 @@
|
||||
Sorry, this game is not yet available for play.
|
||||
</div>
|
||||
</div>
|
||||
<div id="over18" style="position: absolute; top: 0; left: 0; background: rgba(80,80,80,0.8); width: 100%; height: 100%">
|
||||
<div id="overlay_over18" style="position: absolute; top: 0; left: 0; background: rgba(80,80,80,0.8); width: 100%; height: 100%">
|
||||
<div style="display: block; padding: 10px; background: white; width: 80%; margin-left: auto; margin-right: auto; margin-top: 10%; border-radius: 10px;">
|
||||
<h1>You must be 18+ to play Blastmud</h1>
|
||||
<p>This game is restricted to adults (18 years or above). It contains violence,
|
||||
|
@ -56,7 +56,7 @@ function connectTerm() {
|
||||
}
|
||||
|
||||
function over18() {
|
||||
document.getElementById("over18").style.display = 'none';
|
||||
document.getElementById("overlay_over18").style.display = 'none';
|
||||
isScreened = true;
|
||||
window.localStorage['over18'] = true;
|
||||
term.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user