Merge pull request #467 from thelounge/PR/oops

Fix slight bugs introduced by #379 and #465
This commit is contained in:
Alistair McKinlay 2016-07-06 10:53:27 +01:00 committed by GitHub
commit 548a8d7130
4 changed files with 10 additions and 10 deletions

View File

@ -1227,6 +1227,7 @@ button {
background: white;
display: flex;
align-items: flex-end;
min-height: 37px;
}
#form #nick {

View File

@ -773,7 +773,7 @@ $(function() {
}
viewport.removeClass("lt");
var lastActive = $("#windows .chan.active");
var lastActive = $("#windows > .active");
lastActive
.removeClass("active")
@ -781,10 +781,8 @@ $(function() {
.unsticky();
lastActive
.find(".unread-marker")
.appendTo(lastActive.find(".messages"));
$("#chat-container").addClass("active");
.find(".chan.active")
.removeClass("active");
var chan = $(target)
.addClass("active")
@ -802,6 +800,7 @@ $(function() {
document.title = title;
if (self.hasClass("chan")) {
$("#chat-container").addClass("active");
setNick(self.closest(".network").data("nick"));
}

View File

@ -146,8 +146,8 @@ body {
}
#form .input {
background-color: #2e3642;
border-color: #242a33;
background-color: #2e3642 !important;
border-color: #242a33 !important;
color: #ccc;
}

View File

@ -173,9 +173,9 @@ body {
}
#form .input {
background-color: #434443;
border-color: #101010;
color: #dcdccc;
background-color: #434443 !important;
border-color: #101010 !important;
color: #dcdccc !important;
}
#form #nick {