mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2024-12-23 07:26:39 +01:00
Fix the missing p
in the quality labels.
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
71a821a7e6
commit
f57aac5815
@ -126,7 +126,7 @@ module Invidious::JSONify::APIv1
|
||||
if height && width
|
||||
json.field "size", "#{width}x#{height}"
|
||||
|
||||
quality_label = "#{width > height ? height : width}"
|
||||
quality_label = "#{width > height ? height : width}p"
|
||||
|
||||
if fps && fps > 30
|
||||
quality_label += fps.to_s
|
||||
@ -180,7 +180,7 @@ module Invidious::JSONify::APIv1
|
||||
if height && width
|
||||
json.field "size", "#{width}x#{height}"
|
||||
|
||||
quality_label = "#{width > height ? height : width}"
|
||||
quality_label = "#{width > height ? height : width}p"
|
||||
|
||||
if fps && fps > 30
|
||||
quality_label += fps.to_s
|
||||
|
Loading…
Reference in New Issue
Block a user