mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Don't sort ad_slots
This commit is contained in:
parent
22800efbc4
commit
e8349ae46b
1 changed files with 0 additions and 1 deletions
|
@ -293,7 +293,6 @@ get "/watch" do |env|
|
||||||
|
|
||||||
if video.info["ad_slots"]?
|
if video.info["ad_slots"]?
|
||||||
ad_slots = video.info["ad_slots"].split(",")
|
ad_slots = video.info["ad_slots"].split(",")
|
||||||
ad_slots.sort_by! { |a| a.to_i }
|
|
||||||
ad_slots = ad_slots.join(", ")
|
ad_slots = ad_slots.join(", ")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue