From fce3d11e7497a39cf9ce63879ed1b3ad0e16c34e Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 14 Apr 2017 21:29:04 +0300 Subject: [PATCH] Stick to bottom when opening user list Fixes #1031 --- client/js/lounge.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index fcc06179..83d7441b 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -729,6 +729,7 @@ $(function() { var self = $(this); viewport.toggleClass(self.attr("class")); e.stopPropagation(); + chat.find(".chan.active .chat").trigger("msg.sticky"); }); function positionContextMenu(that, e) { @@ -822,7 +823,7 @@ $(function() { + Math.round(parseFloat(style.borderBottomWidth) || 0) ) + "px"; - $("#chat .chan.active .chat").trigger("msg.sticky"); // fix growing + chat.find(".chan.active .chat").trigger("msg.sticky"); // fix growing }) .tab(complete, {hint: false});