Fix passwords (hopefully)
This commit is contained in:
parent
e33c6c7860
commit
0329e564a9
3 changed files with 28 additions and 13 deletions
|
|
@ -138,7 +138,10 @@ Callbacks = {
|
|||
var parent = chatDialog(div);
|
||||
parent.attr("id", "needpw");
|
||||
var sendpw = function () {
|
||||
socket.emit("channelPassword", pwbox.val());
|
||||
socket.emit("joinChannel", {
|
||||
name: CHANNEL.name,
|
||||
pw: pwbox.val()
|
||||
});
|
||||
parent.remove();
|
||||
};
|
||||
submit.click(sendpw);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue