mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-24 09:26:02 +00:00
Separate with comma views, likes, dislikes
This commit is contained in:
@@ -320,3 +320,7 @@ def template_comments(root)
|
||||
|
||||
return html
|
||||
end
|
||||
|
||||
def number_with_separator(number)
|
||||
number.to_s.reverse.gsub(/(\d{3})(?=\d)/, "\\1,").reverse
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user