mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 08:09:51 +05:30
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