mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
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:
committed by
Damian Jarek
parent
fce080f1a8
commit
56b5f8043f
@@ -4,6 +4,7 @@ Version 258:
|
|||||||
* Fix clang inititalization warning in websocket
|
* Fix clang inititalization warning in websocket
|
||||||
* Remove redundant use of `yield_to` in parser tests
|
* Remove redundant use of `yield_to` in parser tests
|
||||||
* Add VS 2019 AzP CI matrix item
|
* Add VS 2019 AzP CI matrix item
|
||||||
|
* Clean up typo in chat websocket javascript client
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
};
|
};
|
||||||
sendMessage.onkeyup = function(ev) {
|
sendMessage.onkeyup = function(ev) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
if (event.keyCode === 13) {
|
if (ev.keyCode === 13) {
|
||||||
send.click();
|
send.click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user