summaryrefslogtreecommitdiff
path: root/views/script
diff options
context:
space:
mode:
authorSaloniGoyal2016-06-02 16:21:34 +0530
committerSaloniGoyal2016-06-02 16:21:34 +0530
commita2562ae6883ed5ac824794df6b8bb3d63e834e8f (patch)
treef7cc03715e8a1fdfe09a9111f992c3744d1e6c4d /views/script
parentd3d5a0c0e44d37bec5374c66efa99bd144a9fced (diff)
downloadeSimWebApp-a2562ae6883ed5ac824794df6b8bb3d63e834e8f.tar.gz
eSimWebApp-a2562ae6883ed5ac824794df6b8bb3d63e834e8f.tar.bz2
eSimWebApp-a2562ae6883ed5ac824794df6b8bb3d63e834e8f.zip
removed send message div
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;
- });
-