forked from boostorg/beast
Clean up typo in chat websocket javascript client
It so happened that the code works, because both variables exist, but the code was not clean. close #1620
This commit is contained in:
1 parent
fce080f1a8
commit
56b5f8043f
2 files changed
+2
-1
No files matched your search
@@ -51,7 +51,7 @@
|
||||
};
|
||||
sendMessage.onkeyup = function(ev) {
|
||||
ev.preventDefault();
|
||||
if (event.keyCode === 13) {
|
||||
if (ev.keyCode === 13) {
|
||||
send.click();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user