diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-04-08 12:47:39 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-04-08 12:47:39 -0500 |
| commit | e8349ae46b4ef8cda0f106fec09fc2da64c16c91 (patch) | |
| tree | d3424749a01b1f4bd33bde13d8dbe5ca12a80981 | |
| parent | 22800efbc43d6f869cd09896df1380969aaa6919 (diff) | |
| download | invidious-e8349ae46b4ef8cda0f106fec09fc2da64c16c91.tar.gz invidious-e8349ae46b4ef8cda0f106fec09fc2da64c16c91.tar.bz2 invidious-e8349ae46b4ef8cda0f106fec09fc2da64c16c91.zip | |
Don't sort ad_slots
| -rw-r--r-- | src/invidious.cr | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
