summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/main.js b/static/main.js
index ca0119a..15ea87f 100644
--- a/static/main.js
+++ b/static/main.js
@@ -60,6 +60,9 @@ var connect = function(socket) {
/* TODO: replace this with a box on screen */
alert("Your session is broken or has expired. You are unauthenticated and the server will reject your commands.")
break
+ case "N":
+ document.getElementById(`selected${ mar[1] }`).textContent = mar[2]
+ break
case "R": /* course selection rejected */
/* TODO */
alert("Your course selection was rejected, but Runxi is too lazy to write the code.")