mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed dlna user reporting
This commit is contained in:
parent
6429e4e379
commit
0b911596eb
4 changed files with 5 additions and 27 deletions
|
@ -1,27 +1,5 @@
|
|||
(function ($, document, apiClient) {
|
||||
|
||||
function reloadTips(page) {
|
||||
|
||||
var tips = [
|
||||
'Did you know that editing the artist or album of a music video will allow it to appear on the artist and album pages?',
|
||||
'Did you know that editing the tmdb id, tvdb id, and/or games db id of an album will allow media browser to link it to a movie, series or game as a soundtrack?',
|
||||
'Did you know that you can re-order your media folders by editing their sort names?',
|
||||
'Did you know that series, seasons, games and boxsets can have local trailers?',
|
||||
'Did you know that movies can have special features by placing them in a "specials" sub-folder underneath the movie folder?',
|
||||
'Did you know that the trailer plugin can automatically download trailers for existing movies in your collection?'
|
||||
];
|
||||
|
||||
var random = Math.floor((Math.random() * tips.length * 1.5));
|
||||
|
||||
var tip = tips[random];
|
||||
|
||||
if (tip) {
|
||||
$('#tip', page).html(tip).show();
|
||||
} else {
|
||||
$('#tip', page).hide();
|
||||
}
|
||||
}
|
||||
|
||||
function getViewHtml(view) {
|
||||
|
||||
var html = '';
|
||||
|
@ -242,8 +220,6 @@
|
|||
|
||||
});
|
||||
|
||||
reloadTips(page);
|
||||
|
||||
});
|
||||
|
||||
})(jQuery, document, ApiClient);
|
|
@ -210,6 +210,9 @@
|
|||
|
||||
if (elem.length) {
|
||||
elem[0].scrollIntoView();
|
||||
|
||||
// Scroll back up so in case vertical scroll was messed with
|
||||
$(document).scrollTop(0);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue