mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-29 18:50:19 +02:00
10 lines
149 B
JavaScript
10 lines
149 B
JavaScript
Handlebars.registerHelper(
|
|
"equal", function(a, b, opt) {
|
|
a = a.toString();
|
|
b = b.toString();
|
|
if (a == b) {
|
|
return opt.fn(this);
|
|
}
|
|
}
|
|
);
|