summaryrefslogtreecommitdiff
path: root/views/script
diff options
context:
space:
mode:
Diffstat (limited to 'views/script')
-rw-r--r--views/script/form.js10
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;
- });
-