Commit 18ff6cf4 authored by Sam Rushing's avatar Sam Rushing

tyops

parent 8c2a8f30
......@@ -82,7 +82,7 @@ $(function () {
};
/**
* Send mesage when user presses Enter key
* Send message when user presses Enter key
*/
input.keydown(function(e) {
if (e.keyCode === 13) {
......@@ -112,8 +112,9 @@ $(function () {
setInterval(function() {
if (connection.readyState !== 1) {
status.text('Error');
input.attr('disabled', 'disabled').val('Unable to comminucate '
+ 'with the WebSocket server.');
input.attr('disabled', 'disabled').val(
'Unable to communicate with the WebSocket server.'
);
}
}, 3000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment