mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Fix context in querySelector
This commit is contained in:
parent
53f403d156
commit
773fcc1263
@ -194,7 +194,7 @@ define(['globalize', 'connectionManager', 'serverNotifications', 'require', 'loa
|
|||||||
var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active');
|
var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active');
|
||||||
|
|
||||||
if (isChecked) {
|
if (isChecked) {
|
||||||
context.querySelector('.recordSeriesContainer').classList.remove('hide');
|
options.parent.querySelector('.recordSeriesContainer').classList.remove('hide');
|
||||||
if (!this.SeriesTimerId) {
|
if (!this.SeriesTimerId) {
|
||||||
var promise = this.TimerId ?
|
var promise = this.TimerId ?
|
||||||
recordingHelper.changeRecordingToSeries(apiClient, this.TimerId, options.programId) :
|
recordingHelper.changeRecordingToSeries(apiClient, this.TimerId, options.programId) :
|
||||||
|
Loading…
Reference in New Issue
Block a user