mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-22 11:19:03 -05:00
Formatting
This commit is contained in:
parent
15a397daee
commit
64a8561db8
@ -80,7 +80,6 @@ module Invidious::Frontend::Comments
|
|||||||
<ul class="comment-meta-sub">
|
<ul class="comment-meta-sub">
|
||||||
END_HTML
|
END_HTML
|
||||||
|
|
||||||
|
|
||||||
if child["likeCount"]?
|
if child["likeCount"]?
|
||||||
html << <<-END_HTML
|
html << <<-END_HTML
|
||||||
<li>
|
<li>
|
||||||
@ -191,7 +190,6 @@ module Invidious::Frontend::Comments
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
html << <<-END_HTML
|
html << <<-END_HTML
|
||||||
#{replies_html}
|
#{replies_html}
|
||||||
</div>
|
</div>
|
||||||
|
@ -74,7 +74,6 @@ module Invidious::Frontend::Pagination
|
|||||||
str << %(</li>\n)
|
str << %(</li>\n)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if show_next
|
if show_next
|
||||||
str << %(<li>)
|
str << %(<li>)
|
||||||
params_next = URI::Params{"page" => (current_page + 1).to_s}
|
params_next = URI::Params{"page" => (current_page + 1).to_s}
|
||||||
|
@ -68,7 +68,7 @@ module Invidious::Routes::Search
|
|||||||
redirect_url = Invidious::Frontend::Misc.redirect_url(env)
|
redirect_url = Invidious::Frontend::Misc.redirect_url(env)
|
||||||
|
|
||||||
puts items.size
|
puts items.size
|
||||||
puts (items.size >= 20)
|
puts(items.size >= 20)
|
||||||
puts query.page
|
puts query.page
|
||||||
|
|
||||||
# Pagination
|
# Pagination
|
||||||
|
Loading…
x
Reference in New Issue
Block a user