mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Add perfectScrollbar to default streams table.
This adds perfectScrollbar to the default streams table because it currently is inside another perfectScrollbar which actually makes it impossible to scroll the table normally without enabling the perfectScrollbar library on this. Fixes: #6391.
This commit is contained in:
committed by
Tim Abbott
parent
5db810b5d7
commit
d1ef863f96
@@ -50,9 +50,14 @@ exports.build_default_stream_table = function (streams_data) {
|
||||
callback: function (item, value) {
|
||||
return item.name.toLowerCase().indexOf(value) >= 0;
|
||||
},
|
||||
onupdate: function () {
|
||||
ui.update_scrollbar(table);
|
||||
},
|
||||
},
|
||||
}).init();
|
||||
|
||||
ui.set_up_scrollbar(table.closest(".progressive-table-wrapper"));
|
||||
|
||||
loading.destroy_indicator($('#admin_page_default_streams_loading_indicator'));
|
||||
|
||||
self.remove = function (stream_id) {
|
||||
|
||||
Reference in New Issue
Block a user