Fix context in querySelector

This commit is contained in:
Claus Vium 2019-05-24 19:30:24 +02:00 committed by GitHub
parent 53f403d156
commit 773fcc1263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ define(['globalize', 'connectionManager', 'serverNotifications', 'require', 'loa
var isChecked = !button.querySelector('i').classList.contains('recordingIcon-active');
if (isChecked) {
context.querySelector('.recordSeriesContainer').classList.remove('hide');
options.parent.querySelector('.recordSeriesContainer').classList.remove('hide');
if (!this.SeriesTimerId) {
var promise = this.TimerId ?
recordingHelper.changeRecordingToSeries(apiClient, this.TimerId, options.programId) :