Remove exit button from error screens (doesn't work on iOS)

master
Skylar Ittner 8 years ago
parent 474dac5758
commit 5e4fe415e4

@ -62,7 +62,7 @@
<p style="font-family: sans-serif; color: white; position: absolute; max-width: 90%; left: 0; right: 0; bottom: 30%; margin: auto; text-align: center;">
<span id="clientproblemmsg">A game error occurred.</span>
<br /><br />
<button class="btn btn-primary" onclick="navigator.app.exitApp()">Quit game</button>
<button style="display: none;" class="btn btn-primary" onclick="navigator.app.exitApp()">Quit game</button>
<div style="background: url(assets/mountains-simple.svg) repeat-x; background-size: auto 100%; height: 20%; position: absolute; bottom: 0; width: 100%;"></div>
</div>
</div>

@ -66,7 +66,7 @@
<br />
<span id="serverproblemmsg">(sorry)</span>
<br />
<button class="btn btn-primary" onclick="navigator.app.exitApp()">Quit game</button>
<button style="display: none;" class="btn btn-primary" onclick="navigator.app.exitApp()">Quit game</button>
<div style="background: url(assets/mountains-simple.svg) repeat-x; background-size: auto 100%; height: 20%; position: absolute; bottom: 0; width: 100%;"></div>
</div>
</div>