Don't sort ad_slots

This commit is contained in:
Omar Roth 2018-04-08 12:47:39 -05:00
parent 22800efbc4
commit e8349ae46b

View File

@ -293,7 +293,6 @@ get "/watch" do |env|
if video.info["ad_slots"]?
ad_slots = video.info["ad_slots"].split(",")
ad_slots.sort_by! { |a| a.to_i }
ad_slots = ad_slots.join(", ")
end