diff options
| -rw-r--r-- | public/index.html | 5 | ||||
| -rw-r--r-- | webAO/master.js | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/public/index.html b/public/index.html index 2242081..30bd23a 100644 --- a/public/index.html +++ b/public/index.html @@ -88,8 +88,7 @@ </div> <div id="ms_error" class="error" style="display: none;"> <p>Could not connect to the master server.</p> - <p>Please check your firewall.</p> - <p id="ms_error_code">A network error occurred</p> + <p>Showing saved list.</p> </div> <noscript> <div id="js_error" class="error"> @@ -120,4 +119,4 @@ </div> </body> -</html>
\ No newline at end of file +</html> diff --git a/webAO/master.js b/webAO/master.js index 65f8a4f..6b791e6 100644 --- a/webAO/master.js +++ b/webAO/master.js @@ -92,7 +92,7 @@ function parseMasterlist(msg) { */ function onError(evt) { document.getElementById('ms_error').style.display = 'block'; - document.getElementById('ms_error_code').innerText = `A network error occurred: ${evt.reason} (${evt.code})`; + console.error(`A network error occurred: ${evt.reason} (${evt.code})`); parseMasterlist(localStorage.getItem('masterlist')); } |
