use properties notation

This commit is contained in:
Iván Eixarch 2012-12-09 08:56:58 +01:00
parent 854ed56037
commit 9f1872afc1
7 changed files with 47 additions and 47 deletions

View file

@ -109,7 +109,7 @@ var chat = (function()
}
/* End of new action */
var authorName = msg.userName == null ? _('pad_userlist.unnamed') : padutils.escapeHtml(msg.userName);
var authorName = msg.userName == null ? _('pad.userlist.unnamed') : padutils.escapeHtml(msg.userName);
var html = "<p class='" + authorClass + "'><b>" + authorName + ":</b><span class='time " + authorClass + "'>" + timeStr + "</span> " + text + "</p>";
$("#chattext").append(html);