mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 21:56:12 +02:00
/admin/plugins: Make it display the same amount of plugins after sorting
This commit is contained in:
parent
5d7a8adcb7
commit
511407241a
@ -106,15 +106,15 @@ $(document).ready(function () {
|
||||
search.sortBy = $(this).text().toLowerCase();
|
||||
search.sortDir = false;
|
||||
search.offset = 0;
|
||||
search.results = [];
|
||||
search(search.searchTerm, search.results.length);
|
||||
search.results = [];
|
||||
})
|
||||
$('.sort.down, .sort.none').unbind('click').click(function() {
|
||||
search.sortBy = $(this).text().toLowerCase();
|
||||
search.sortDir = true;
|
||||
search.offset = 0;
|
||||
search(search.searchTerm, search.results.length);
|
||||
search.results = [];
|
||||
search(search.searchTerm);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user