diff options
Diffstat (limited to 'youtube/static/js/plyr-start.js')
-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) { |