diff --git a/static/js/index.js b/static/js/index.js index ea38c9d..a4f4e7b 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -611,6 +611,8 @@ function updateDefaultBitrate() { } else { // 2160p, 60fps $('#bitrateSlider')[0].MaterialSlider.change('80'); } + } else { // unrecognized option. In case someone screws with the JS to add custom resolutions + $('#bitrateSlider')[0].MaterialSlider.change('10'); } updateBitrateField();