mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update hls stop
This commit is contained in:
parent
a560460346
commit
ae57b97712
3 changed files with 12 additions and 11 deletions
|
@ -22,8 +22,7 @@
|
|||
<paper-checkbox class="chkUpcomingStreamingTrailers">${OptionUpcomingStreamingMovies}</paper-checkbox>
|
||||
<paper-checkbox class="chkOtherTrailers">${OptionOtherTrailers}</paper-checkbox>
|
||||
</div>
|
||||
<div class="fieldDescription paperCheckboxFieldDescription">${LabelTheseFeaturesRequireSubscriptionHelpAndTrailers}</div>
|
||||
<div class="fieldDescription paperCheckboxFieldDescription"><a class="lnkSupporterLearnMore" href="http://emby.media/premiere" target="_blank" style="display:none;">${ButtonLearnMore}</a></div>
|
||||
<div class="fieldDescription paperCheckboxFieldDescription"><a class="lnkSupporterLearnMore" href="http://emby.media/premiere" target="_blank">${LabelTheseFeaturesRequireSubscriptionHelpAndTrailers}</a></div>
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
|
|
|
@ -101,6 +101,14 @@
|
|||
|
||||
$('.cinemaModeConfigurationForm').off('submit', onSubmit).on('submit', onSubmit);
|
||||
|
||||
if (!AppInfo.enableSupporterMembership) {
|
||||
page.querySelector('.lnkSupporterLearnMore').href = '#';
|
||||
page.querySelector('.lnkSupporterLearnMore').addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
}).on('pageshow', "#cinemaModeConfigurationPage", function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
@ -112,12 +120,6 @@
|
|||
loadPage(page, config);
|
||||
|
||||
});
|
||||
|
||||
if (AppInfo.enableSupporterMembership) {
|
||||
$('.lnkSupporterLearnMore', page).show();
|
||||
} else {
|
||||
$('.lnkSupporterLearnMore', page).hide();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -1578,9 +1578,9 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
|
|||
|
||||
window.addEventListener("beforeunload", onAppClose);
|
||||
|
||||
if (browserInfo.safari) {
|
||||
document.addEventListener("pause", onAppClose);
|
||||
}
|
||||
//if (browserInfo.safari) {
|
||||
// document.addEventListener("pause", onAppClose);
|
||||
//}
|
||||
|
||||
function sendProgressUpdate() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue