From e8349ae46b4ef8cda0f106fec09fc2da64c16c91 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 8 Apr 2018 12:47:39 -0500 Subject: [PATCH] Don't sort ad_slots --- src/invidious.cr | 1 - 1 file changed, 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index bab57808..5437c356 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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