From 26bf948fdc600ec0294094861f127e3d2360c095 Mon Sep 17 00:00:00 2001 From: Maxime Poulin Date: Wed, 6 Jul 2016 03:08:27 -0400 Subject: [PATCH 1/2] Fix being unable to switch window from settings to chan --- client/js/lounge.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index db82df4c..2e014815 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -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")); } From 44c31ed15c7ce38c4075775c779a61c50cb1d8d5 Mon Sep 17 00:00:00 2001 From: Maxime Poulin Date: Wed, 6 Jul 2016 03:21:51 -0400 Subject: [PATCH 2/2] Fix themes on textarea --- client/css/style.css | 1 + client/themes/morning.css | 4 ++-- client/themes/zenburn.css | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 0966cf9e..c013e6d1 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -1227,6 +1227,7 @@ button { background: white; display: flex; align-items: flex-end; + min-height: 37px; } #form #nick { diff --git a/client/themes/morning.css b/client/themes/morning.css index 71d84f23..c6cd63f8 100644 --- a/client/themes/morning.css +++ b/client/themes/morning.css @@ -146,8 +146,8 @@ body { } #form .input { - background-color: #2e3642; - border-color: #242a33; + background-color: #2e3642 !important; + border-color: #242a33 !important; color: #ccc; } diff --git a/client/themes/zenburn.css b/client/themes/zenburn.css index 2484fe10..5cb3db57 100644 --- a/client/themes/zenburn.css +++ b/client/themes/zenburn.css @@ -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 {