Replace chomp with rstrip

pull/3/head
Omar Roth 7 years ago
parent 03de6fbf06
commit a951f4a2f8

@ -1,5 +1,5 @@
<% content_for "header" do %> <% 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 %> <% end %>
<% videos.each do |item| %> <% videos.each do |item| %>

Loading…
Cancel
Save