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:
parent
6daaed3bcc
commit
74129c934a
2 changed files with 12 additions and 7 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 () {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue