diff options
Diffstat (limited to 'views/script')
-rw-r--r-- | views/script/form.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/views/script/form.js b/views/script/form.js index 31099bc..42be640 100644 --- a/views/script/form.js +++ b/views/script/form.js @@ -1,11 +1 @@ var socket = io(); - -jQuery("#websocket_form").click(function(){ - var msg = jQuery("#msgs").val(); - if(msg!=''){ - socket.emit('chat message', msg); - } - jQuery("#msgs").val(''); - return false; - }); - |