aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2020-11-18 00:04:49 +0100
committerGitHub <noreply@github.com>2020-11-18 00:04:49 +0100
commit29905ce6f2271b0b790301c164b35809550410fc (patch)
treefc978a1537d04737bdf3d8b6b68d4d118f78b5e0
parent03e1bd2b7b87cea01e2aab9ea54dfdbeff5874b9 (diff)
officially return from the exception handler
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
-rw-r--r--webAO/master.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/webAO/master.js b/webAO/master.js
index aec279c..947889b 100644
--- a/webAO/master.js
+++ b/webAO/master.js
@@ -105,6 +105,7 @@ function checkOnline(serverID, coIP) {
oserv = new WebSocket("ws://" + coIP);
} catch (SecurityError) {
document.getElementById(`server${serverID}`).className = "unavailable";
+ return;
}
}