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

This commit is contained in:
Skylar Ittner 2016-10-06 02:42:02 -06:00
parent 474dac5758
commit 5e4fe415e4
2 changed files with 2 additions and 2 deletions

View File

@ -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;"> <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> <span id="clientproblemmsg">A game error occurred.</span>
<br /><br /> <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 style="background: url(assets/mountains-simple.svg) repeat-x; background-size: auto 100%; height: 20%; position: absolute; bottom: 0; width: 100%;"></div>
</div> </div>
</div> </div>

View File

@ -66,7 +66,7 @@
<br /> <br />
<span id="serverproblemmsg">(sorry)</span> <span id="serverproblemmsg">(sorry)</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 style="background: url(assets/mountains-simple.svg) repeat-x; background-size: auto 100%; height: 20%; position: absolute; bottom: 0; width: 100%;"></div>
</div> </div>
</div> </div>