diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-04-04 15:05:54 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-04-04 15:05:54 -0500 |
| commit | b82fb58dc44b6919e2bebc0995c637d25c7a97e7 (patch) | |
| tree | ddfc5ba2a9401b34b9b6c92b678ebde8bff4f130 /src | |
| parent | c728214af7c437ab38cc2dd99f88a06b18056cbc (diff) | |
| download | invidious-b82fb58dc44b6919e2bebc0995c637d25c7a97e7.tar.gz invidious-b82fb58dc44b6919e2bebc0995c637d25c7a97e7.tar.bz2 invidious-b82fb58dc44b6919e2bebc0995c637d25c7a97e7.zip | |
Fix typo in handling 'controls' param
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/videos.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 3887277a..10120c4e 100644 --- a/src/invidious/videos.cr +++ b/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, |
