Skip to content

Commit

Permalink
Replace chomp with rstrip
Browse files Browse the repository at this point in the history
  • Loading branch information
omarroth committed Jan 28, 2018
1 parent 03de6fb commit a951f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/search.ecr
Original file line number Diff line number Diff line change
@@ -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| %>
Expand Down

0 comments on commit a951f4a

Please sign in to comment.