Beginning to think I should test this locally before I push

This commit is contained in:
calzoneman 2013-04-19 14:24:33 -05:00
parent abe6dbe225
commit fb19822eca
1 changed files with 18 additions and 17 deletions

View File

@ -84,8 +84,8 @@ if(params["channel"] == undefined) {
socket.emit("joinChannel", {
name: m[1]
});
break;
}
else {
var main = $($(".container")[1]);
var container = $("<div/>").addClass("container").insertBefore(main);
@ -104,6 +104,7 @@ if(params["channel"] == undefined) {
}
});
}
}
else if(!params["channel"].match(/^[a-zA-Z0-9]+$/)) {
$("<div/>").addClass("alert alert-error")
.insertAfter($(".row")[0])[0]