forked from platypush/platypush
typo
This commit is contained in:
parent
8f8b28912c
commit
151e2e56d9
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ $(document).ready(function() {
|
||||||
if (subtitlesConf) {
|
if (subtitlesConf) {
|
||||||
populateSubtitlesModal(resource).then((subs) => {
|
populateSubtitlesModal(resource).then((subs) => {
|
||||||
if ('language' in subtitlesConf) {
|
if ('language' in subtitlesConf) {
|
||||||
if (subs && sub.length) {
|
if (subs && subs.length) {
|
||||||
downloadSubtitles(subs[0].SubDownloadLink, resource).then((subtitles) => {
|
downloadSubtitles(subs[0].SubDownloadLink, resource).then((subtitles) => {
|
||||||
_play(resource, subtitles).finally(onVideoReady);
|
_play(resource, subtitles).finally(onVideoReady);
|
||||||
resolve(resource, subtitles);
|
resolve(resource, subtitles);
|
||||||
|
|
Loading…
Reference in a new issue