OSDN Git Service
(root)
/
webchat
/
WebChat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8f211
)
空発言を送信できないようにした
author
konekoneko
<jbh03215@gmail.com>
Wed, 3 Oct 2012 22:05:30 +0000
(07:05 +0900)
committer
konekoneko
<jbh03215@gmail.com>
Wed, 3 Oct 2012 22:05:30 +0000
(07:05 +0900)
public/scripts/chatclient.js
patch
|
blob
|
history
diff --git
a/public/scripts/chatclient.js
b/public/scripts/chatclient.js
index
1af7b25
..
ab915bc
100644
(file)
--- a/
public/scripts/chatclient.js
+++ b/
public/scripts/chatclient.js
@@
-282,7
+282,7
@@
function sidEventListener(){
};
\r
msg.message = cmd.parse(msg);
\r
\r
- if(msg.message != null)
\r
+ if(msg.message != null
&& msg.message != ""
)
\r
$socket.json.emit("send msg",msg);
\r
\r
document.chat_form.message.value ="";
\r