2
0
Fork 0
mirror of https://github.com/thelounge/thelounge synced 2025-02-21 23:58:27 +00:00
thelounge/client/js/libs/handlebars/users.js
2014-09-10 09:51:05 -07:00

5 lines
117 B
JavaScript

Handlebars.registerHelper(
"users", function(count) {
return count + " " + (count == 1 ? "user" : "users");
}
);