Browse Source

Fix typo in handling 'controls' param

pull/466/head
Omar Roth 7 years ago
parent
commit
b82fb58dc4
  1. 2
      src/invidious/videos.cr

2
src/invidious/videos.cr

@ -851,7 +851,7 @@ def process_video_params(query, preferences)
controls = query["controls"]?.try &.to_i?
controls ||= 1
controls = controls == 1
controls = controls >= 1
params = {
autoplay: autoplay,

Loading…
Cancel
Save