mirror of https://github.com/zulip/zulip.git
settings: Add perfectScrollbar to uploads table.
This adds the perfectScrollbar to the uploads table so that it will function properly in the settings container since the parent node has a perfectScrollbar.
This commit is contained in:
parent
7b8fd1aafb
commit
24b5030776
|
@ -47,9 +47,13 @@ exports.set_up_attachments = function () {
|
|||
callback: function (item, value) {
|
||||
return item.name.toLocaleLowerCase().indexOf(value) >= 0;
|
||||
},
|
||||
onupdate: function () {
|
||||
ui.update_scrollbar(uploaded_files_table.closest(".progressive-table-wrapper"));
|
||||
},
|
||||
},
|
||||
}).init();
|
||||
|
||||
ui.set_up_scrollbar(uploaded_files_table.closest(".progressive-table-wrapper"));
|
||||
|
||||
uploaded_files_table.empty();
|
||||
_.each(attachments, function (attachment) {
|
||||
|
|
Loading…
Reference in New Issue