mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: Unhide PlayNextEpisodeAutomatically on TV
Cherry-picked from: a77a8c7aec
This commit is contained in:
parent
5da08475cc
commit
2e7ffb4b1a
2 changed files with 1 additions and 13 deletions
|
@ -1,4 +1,3 @@
|
||||||
import browser from '../../scripts/browser';
|
|
||||||
import appSettings from '../../scripts/settings/appSettings';
|
import appSettings from '../../scripts/settings/appSettings';
|
||||||
import { appHost } from '../apphost';
|
import { appHost } from '../apphost';
|
||||||
import focusManager from '../focusManager';
|
import focusManager from '../focusManager';
|
||||||
|
@ -137,15 +136,6 @@ function showHideQualityFields(context, user, apiClient) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function showOrHideEpisodesField(context) {
|
|
||||||
if (browser.tizen || browser.web0s) {
|
|
||||||
context.querySelector('.fldEpisodeAutoPlay').classList.add('hide');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
context.querySelector('.fldEpisodeAutoPlay').classList.remove('hide');
|
|
||||||
}
|
|
||||||
|
|
||||||
function loadForm(context, user, userSettings, apiClient) {
|
function loadForm(context, user, userSettings, apiClient) {
|
||||||
const loggedInUserId = apiClient.getCurrentUserId();
|
const loggedInUserId = apiClient.getCurrentUserId();
|
||||||
const userId = user.Id;
|
const userId = user.Id;
|
||||||
|
@ -208,8 +198,6 @@ function loadForm(context, user, userSettings, apiClient) {
|
||||||
fillSkipLengths(selectSkipBackLength);
|
fillSkipLengths(selectSkipBackLength);
|
||||||
selectSkipBackLength.value = userSettings.skipBackLength();
|
selectSkipBackLength.value = userSettings.skipBackLength();
|
||||||
|
|
||||||
showOrHideEpisodesField(context);
|
|
||||||
|
|
||||||
loading.hide();
|
loading.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${CinemaModeConfigurationHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${CinemaModeConfigurationHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer fldEpisodeAutoPlay hide">
|
<div class="checkboxContainer fldEpisodeAutoPlay">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" class="chkEpisodeAutoPlay" />
|
<input type="checkbox" is="emby-checkbox" class="chkEpisodeAutoPlay" />
|
||||||
<span>${PlayNextEpisodeAutomatically}</span>
|
<span>${PlayNextEpisodeAutomatically}</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue