diff options
author | Fawn <fangrui_tong@brown.edu> | 2020-01-09 15:52:05 -0500 |
---|---|---|
committer | Fawn <fangrui_tong@brown.edu> | 2020-01-09 15:52:05 -0500 |
commit | 9a8d2a903b10568686cc66c849fba21b1ab75be2 (patch) | |
tree | ea0bf48e4f47c72f9eeab3cbd00a5f1494abbb34 /src/client/DocServer.ts | |
parent | e0a8d325d601d305a166c1683dccfcc67e91fe95 (diff) | |
parent | 540bda7295f6ee7c2eed848598de6f5df74b2723 (diff) |
pull and merge with master
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r-- | src/client/DocServer.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts index 47c63bfb7..ed7fbd7ba 100644 --- a/src/client/DocServer.ts +++ b/src/client/DocServer.ts @@ -82,7 +82,9 @@ export namespace DocServer { Utils.AddServerHandler(_socket, MessageStore.UpdateField, respondToUpdate); Utils.AddServerHandler(_socket, MessageStore.DeleteField, respondToDelete); Utils.AddServerHandler(_socket, MessageStore.DeleteFields, respondToDelete); - Utils.AddServerHandler(_socket, MessageStore.ConnectionTerminated, () => alert("Your connection to the server has been terminated.")); + Utils.AddServerHandler(_socket, MessageStore.ConnectionTerminated, () => { + alert("Your connection to the server has been terminated."); + }); } function errorFunc(): never { |