[Client] Improve error screen rendering

This commit is contained in:
syuilo
2017-06-13 03:20:43 +09:00
parent fe808b5609
commit 72b7c84139
2 changed files with 1 additions and 7 deletions

View File

@@ -175,6 +175,7 @@ function panic(e) {
console.error(e);
// Display blue screen
document.documentElement.style.background = '#1269e2';
document.body.innerHTML =
'<div id="error">'
+ '<h1>:( 致命的な問題が発生しました。</h1>'