mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update movie filters
This commit is contained in:
parent
20dfe14bb1
commit
d94811ed33
92 changed files with 1319 additions and 376 deletions
|
@ -101,11 +101,11 @@
|
|||
html += '<div class="detailSectionHeader">' + currentCategory + '</div>';
|
||||
var topPlugins = allPlugins.slice(0).sort(function (a, b) {
|
||||
|
||||
if (a.installs < b.installs) {
|
||||
return 1;
|
||||
if (a.installs > b.installs) {
|
||||
return -1;
|
||||
}
|
||||
if (b.installs > a.installs) {
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
var aName = (a.name);
|
||||
|
@ -122,7 +122,6 @@
|
|||
});
|
||||
|
||||
var limit = screen.availWidth >= 1920 ? 15 : 12;
|
||||
|
||||
for (i = 0, length = Math.min(topPlugins.length, limit) ; i < length; i++) {
|
||||
html += getPluginHtml(topPlugins[i], options, installedPlugins);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue