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:
cbea20b
)
$name[name]がundefinedになることがあった
author
konekoneko
<jbh03215@hotmail.co.jp>
Fri, 30 May 2014 17:17:53 +0000
(
02:17
+0900)
committer
konekoneko
<jbh03215@hotmail.co.jp>
Fri, 30 May 2014 17:17:53 +0000
(
02:17
+0900)
public/scripts/chatclient.js
patch
|
blob
|
history
diff --git
a/public/scripts/chatclient.js
b/public/scripts/chatclient.js
index
77da651
..
c4726b1
100644
(file)
--- a/
public/scripts/chatclient.js
+++ b/
public/scripts/chatclient.js
@@
-157,7
+157,7
@@
function ParseMessage(msg)
var mailto = "";
\r
var date = new Date(Date.parse(msg.date));
\r
var name = util.htmlspecialchars(msg.name);
\r
- if(name != $system_name)
\r
+ if(name != $system_name
&& name in $names
)
\r
{
\r
color = $names[name].color;
\r
$names[name].time = date.getTime();
\r