1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-03-21 13:26:37 -04:00

Sort engage types

This commit is contained in:
Omar Roth 2018-08-14 14:04:43 -05:00
parent f26e9313ff
commit 7dfb301858

@ -266,7 +266,7 @@ get "/watch" do |env|
if video.info["enabled_engage_types"]?
engage_types = video.info["enabled_engage_types"].split(",")
engage_types = engage_types.join(", ")
engage_types = engage_types.sort_by { |a| a.to_i }.join(", ")
end
templated "watch"