1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

rework text subtitles

This commit is contained in:
Luke Pulverenti 2014-01-10 08:52:01 -05:00
parent 1447aafd24
commit 8ef09d054d
11 changed files with 300 additions and 146 deletions

View file

@ -1417,7 +1417,7 @@
return html;
},
getPagingHtml: function (query, totalRecordCount, updatePageSizeSetting) {
getPagingHtml: function (query, totalRecordCount, updatePageSizeSetting, pageSizes) {
if (query.Limit && updatePageSizeSetting !== false) {
localStorage.setItem('pagesize', query.Limit);
@ -1477,13 +1477,11 @@
}
}
options += getOption(20);
options += getOption(50);
options += getOption(100);
options += getOption(200);
options += getOption(300);
options += getOption(400);
options += getOption(500);
pageSizes = pageSizes || [20, 50, 100, 200, 300, 400, 500];
for (var j = 0, length = pageSizes.length; j < length; j++) {
options += getOption(pageSizes[j]);
}
// Add styles to defeat jquery mobile
html += '<label style="display:inline;font-size:inherit;" class="labelPageSize" for="' + id + '">Limit: </label><select class="selectPageSize" id="' + id + '" data-enhance="false" data-role="none">' + options + '</select>';