Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rename outputNicksString outputUsers

  • Loading branch information...
commit 291306074c830625aa0ea529c80936d8db8d1c1a 1 parent f923983
ry ry authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 client.js
6 client.js
View
@@ -205,7 +205,7 @@ function onConnect (session) {
showChat(CONFIG.nick);
}
-function outputNickString () {
+function outputUsers () {
var nick_string = nicks.length > 0 ? nicks.join(", ") : "(none)";
addMessage("users:", nick_string, new Date(), "notice");
}
@@ -214,7 +214,7 @@ function who () {
jQuery.get("/who", {}, function (data, status) {
if (status != "success") return;
nicks = data.nicks;
- outputNickString();
+ outputUsers();
}, "json");
}
@@ -227,7 +227,7 @@ $(document).ready(function() {
$("#entry").attr("value", ""); // clear the entry field.
});
- $("#usersLink").click(outputNickString);
+ $("#usersLink").click(outputUsers);
$("#connectButton").click(function () {
showLoad();
Please sign in to comment.
Something went wrong with that request. Please try again.