Merge pull request #1032 from thelounge/userlist-sticky

Stick to bottom when opening user list
This commit is contained in:
Jérémie Astori 2017-04-15 01:51:44 -04:00 committed by GitHub
commit 8627bbb713
1 changed files with 2 additions and 1 deletions

View File

@ -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});