Emscripten: removed FS warning
This commit is contained in:
@@ -25,35 +25,10 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div.overlay {
|
||||
height: 40px;
|
||||
margin: 0 auto;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
transition: opacity 0.3s;
|
||||
width: 100%;
|
||||
z-index: 3;
|
||||
}
|
||||
div.overlay > div {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
div.background > div, div.overlay > div {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#filesystem {
|
||||
background-color: #e00000;
|
||||
border: 1px solid #fc6458;
|
||||
color: #fcf880;
|
||||
display: none;
|
||||
outline: #a00000;
|
||||
padding: 0 4px;
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
#title, #message {
|
||||
background-color: #838383;
|
||||
border: 1px solid #a8a8a8;
|
||||
@@ -122,11 +97,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overlay" id="overlay">
|
||||
<div id="filesystem">
|
||||
Warning: savegames are stored in the Indexed DB of your browser.<br/>Your browser can delete savegames without notice!
|
||||
</div>
|
||||
</div>
|
||||
<div class="textinput" id="textinput">
|
||||
<input type="textinput" id="textinputbox" value="" onfocusout="Module.finishTextInput();" tabindex=1></input>
|
||||
<br/>
|
||||
@@ -216,17 +186,6 @@
|
||||
document.getElementById("message").innerHTML = "The game crashed!<br/><br/>Please reload your browser to restart the game.";
|
||||
},
|
||||
|
||||
onWarningFs: function() {
|
||||
document.getElementById("filesystem").style.display = "inline-block";
|
||||
document.getElementById("overlay").style.opacity = 1;
|
||||
setTimeout(function() {
|
||||
document.getElementById("overlay").style.opacity = 0;
|
||||
setTimeout(function() {
|
||||
document.getElementById("filesystem").style.display = "none";
|
||||
}, 300);
|
||||
}, 10000);
|
||||
},
|
||||
|
||||
textInputValue: null,
|
||||
|
||||
startTextInput: function(text) {
|
||||
|
||||
Reference in New Issue
Block a user