diff options
author | Jesús <heckyel@hyperbola.info> | 2021-09-01 12:25:46 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-09-01 12:25:46 -0500 |
commit | 98d9b357658d19caad64fe9df4dcb42146e214bc (patch) | |
tree | b2cbb55212596193fe6d1a1ecfd7ae04eb961775 /youtube | |
parent | 676536a29429b46faf904da8bfd9bf50955dd370 (diff) | |
download | yt-local-98d9b357658d19caad64fe9df4dcb42146e214bc.tar.lz yt-local-98d9b357658d19caad64fe9df4dcb42146e214bc.tar.xz yt-local-98d9b357658d19caad64fe9df4dcb42146e214bc.zip |
plyr: minor fix
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/static/js/plyr-start.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube/static/js/plyr-start.js b/youtube/static/js/plyr-start.js index dae001a..79a0301 100644 --- a/youtube/static/js/plyr-start.js +++ b/youtube/static/js/plyr-start.js @@ -96,8 +96,7 @@ const player = new Plyr(document.getElementById('js-video-player'), { options: qualityOptions, forced: true, onChange: function(quality) { - if (quality == 'None') - return; + if (quality == 'None') {return;} if (quality.includes('(integrated)')) { for (var i=0; i < data['uni_sources'].length; i++) { if (data['uni_sources'][i].quality_string == quality) { |