mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Sort engage types
This commit is contained in:
parent
f26e9313ff
commit
7dfb301858
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ get "/watch" do |env|
|
||||||
|
|
||||||
if video.info["enabled_engage_types"]?
|
if video.info["enabled_engage_types"]?
|
||||||
engage_types = video.info["enabled_engage_types"].split(",")
|
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
|
end
|
||||||
|
|
||||||
templated "watch"
|
templated "watch"
|
||||||
|
|
Loading…
Reference in a new issue