mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Replace chomp with rstrip
This commit is contained in:
parent
03de6fbf06
commit
a951f4a2f8
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<% content_for "header" do %>
|
||||
<title><%= query.size > 30 ? query[0,30].chomp("...") + "..." : query %> - Invidious</title>
|
||||
<title><%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<% videos.each do |item| %>
|
||||
|
|
Loading…
Reference in a new issue