OSDN Git Service

入室画面と発言画面で改行キーを押しても入室・発言しないようにした
authorkonekoneko <jbh03215@gmail.com>
Sat, 29 Sep 2012 20:15:35 +0000 (05:15 +0900)
committerkonekoneko <jbh03215@gmail.com>
Sat, 29 Sep 2012 20:15:35 +0000 (05:15 +0900)
public/scripts/chatclient.js

index 67607c7..be409a4 100644 (file)
@@ -43,14 +43,6 @@ $(document).ready(function(){
                $("#help_frame").css("display","none");\r
        });\r
        $("input[name=openPastlog]").click(openPastlogEventListener);\r
-       $("#enter_frame input[name=name]").keydown(function(e){\r
-               if(e.keyCode == 13)\r
-                       enterEventListener();\r
-       });\r
-       $("#chat_frame input[name=message]").keydown(function(e){\r
-               if(e.keyCode == 13)\r
-                       sidEventListener();\r
-       });\r
        document.chat_form.onsubmit = function(){return false;};\r
        document.enter_form.onsubmit = function(){return false;};\r
 \r