Skip to content

Commit

Permalink
Merge pull request thelounge#467 from thelounge/PR/oops
Browse files Browse the repository at this point in the history
Fix slight bugs introduced by thelounge#379 and thelounge#465
  • Loading branch information
AlMcKinlay authored Jul 6, 2016
2 parents 19c1839 + bda32fa commit f15e201
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions client/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,7 @@ button {
background: white;
display: flex;
align-items: flex-end;
min-height: 37px;
}

#form #nick {
Expand Down
9 changes: 4 additions & 5 deletions client/js/lounge.js
Original file line number Diff line number Diff line change
Expand Up @@ -773,18 +773,16 @@ $(function() {
}

viewport.removeClass("lt");
var lastActive = $("#windows .chan.active");
var lastActive = $("#windows > .active");

lastActive
.removeClass("active")
.find(".chat")
.unsticky();

lastActive
.find(".unread-marker")
.appendTo(lastActive.find(".messages"));

$("#chat-container").addClass("active");
.find(".chan.active")
.removeClass("active");

var chan = $(target)
.addClass("active")
Expand All @@ -802,6 +800,7 @@ $(function() {
document.title = title;

if (self.hasClass("chan")) {
$("#chat-container").addClass("active");
setNick(self.closest(".network").data("nick"));
}

Expand Down
4 changes: 2 additions & 2 deletions client/themes/morning.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ body {
}

#form .input {
background-color: #2e3642;
border-color: #242a33;
background-color: #2e3642 !important;
border-color: #242a33 !important;
color: #ccc;
}

Expand Down
6 changes: 3 additions & 3 deletions client/themes/zenburn.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f15e201

Please sign in to comment.