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

update channel db

This commit is contained in:
Luke Pulverenti 2015-10-04 14:10:50 -04:00
parent 9969385a5e
commit dd85036ef5
2 changed files with 2 additions and 1 deletions

View file

@ -55,6 +55,7 @@
var maxPageSize = features.MaxPageSize; var maxPageSize = features.MaxPageSize;
var query = getQuery();
if (maxPageSize) { if (maxPageSize) {
query.Limit = Math.min(maxPageSize, query.Limit || maxPageSize); query.Limit = Math.min(maxPageSize, query.Limit || maxPageSize);
} }

View file

@ -430,7 +430,7 @@ var Dashboard = {
elem = $('<p id="' + options.id + '" class="footerNotification"></p>').appendTo(parentElem); elem = $('<p id="' + options.id + '" class="footerNotification"></p>').appendTo(parentElem);
} }
var onclick = removeOnHide ? "$(\"#" + options.id + "\").trigger(\"notification.remove\").remove();" : "$(\"#" + options.id + "\").trigger(\"notification.hide\").hide();"; var onclick = removeOnHide ? "jQuery(\"#" + options.id + "\").trigger(\"notification.remove\").remove();" : "jQuery(\"#" + options.id + "\").trigger(\"notification.hide\").hide();";
if (options.allowHide !== false) { if (options.allowHide !== false) {
options.html += "<span style='margin-left: 1em;'><paper-button class='submit' onclick='" + onclick + "'>" + Globalize.translate('ButtonHide') + "</paper-button></span>"; options.html += "<span style='margin-left: 1em;'><paper-button class='submit' onclick='" + onclick + "'>" + Globalize.translate('ButtonHide') + "</paper-button></span>";