Minor changes
This commit is contained in:
parent
86e4ad770f
commit
7e0b11ebf2
@ -76,6 +76,7 @@ socket.emit("join", {
|
||||
id: 0,
|
||||
name: "",
|
||||
type: "",
|
||||
network: "",
|
||||
count: 0,
|
||||
messages: [],
|
||||
users: [],
|
||||
|
@ -247,6 +247,7 @@ button {
|
||||
max-width: 250px;
|
||||
}
|
||||
#sign-in-input {
|
||||
color: #95a5a6;
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ $(function() {
|
||||
switch (e) {
|
||||
case "auth":
|
||||
chat.add($("#networks")).empty();
|
||||
$("#sign-in").addClass("active");
|
||||
$("#sign-in").addClass("active").find("#sign-in-input").focus();
|
||||
break;
|
||||
|
||||
case "debug":
|
||||
@ -163,10 +163,9 @@ $(function() {
|
||||
.find(".badge")
|
||||
.removeClass("highlight")
|
||||
.empty();
|
||||
|
||||
$("#main .active").removeClass("active");
|
||||
var window = $(target)
|
||||
.siblings()
|
||||
.removeClass("active")
|
||||
.end()
|
||||
.css("z-index", z++)
|
||||
.addClass("active");
|
||||
|
||||
|
@ -8,6 +8,7 @@ function Chan(attr) {
|
||||
id: global.id = ++global.id || 1,
|
||||
name: "",
|
||||
type: "channel",
|
||||
network: "",
|
||||
count: 0,
|
||||
messages: [],
|
||||
users: [],
|
||||
|
@ -20,6 +20,7 @@ function Network(attr) {
|
||||
};
|
||||
|
||||
Network.prototype.addChan = function(chan) {
|
||||
chan.network = this.host;
|
||||
this.channels.push(chan);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user