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

improve live stream pinging

This commit is contained in:
Luke Pulverenti 2015-04-20 14:04:02 -04:00
parent 6daaed3bcc
commit 74129c934a
2 changed files with 12 additions and 7 deletions

View file

@ -176,7 +176,7 @@
padding: 5px 4px 2px; padding: 5px 4px 2px;
text-shadow: none; text-shadow: none;
font-weight: 400; font-weight: 400;
line-height: initial; line-height: 1.4;
} }
.cardOverlayInner { .cardOverlayInner {

View file

@ -524,7 +524,7 @@
return $.when(promises); return $.when(promises);
} }
var homePageDismissValue = '12'; var homePageDismissValue = '14';
var homePageTourKey = 'homePageTour'; var homePageTourKey = 'homePageTour';
function dismissWelcome(page, userId) { function dismissWelcome(page, userId) {
@ -588,6 +588,9 @@
function loadConfigureViewsWelcomeMessage(page, userId) { function loadConfigureViewsWelcomeMessage(page, userId) {
Dashboard.getCurrentUser().done(function (user) {
if (user.Policy.EnableUserPreferenceAccess) {
$('.btnMyPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId); $('.btnMyPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
// Need the timeout because previous methods in the chain have popups that will be in the act of closing // Need the timeout because previous methods in the chain have popups that will be in the act of closing
@ -597,6 +600,8 @@
}, 500); }, 500);
} }
});
}
$(document).on('pageinit', "#indexPage", function () { $(document).on('pageinit', "#indexPage", function () {