pm_list: Add missing scrollbar update.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2019-03-25 17:23:13 -07:00
committed by Tim Abbott
parent 0a656bec8a
commit ec87544840
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ set_global('resize', {
});
set_global('ui', {
set_up_scrollbar: function () {},
update_scrollbar: function () {},
});
set_global('stream_popover', {
hide_topic_popover: function () {},

View File

@@ -70,6 +70,7 @@ function zoom_in() {
zoomed_in = true;
var list_widget = $("ul.expanded_private_messages").expectOne();
list_widget.removeClass("zoomed-out").addClass("zoomed-in");
ui.update_scrollbar($("#private-container"));
}
exports.close = function () {