thelounge/client
Jérémie Astori c0d348a678
Fix default value given to Msg.from
- `{}` is not falsey so Handlebars would try to render the block (see http://handlebarsjs.com/builtin_helpers.html#conditionals), therefore with a `nick` of `undefined`, which breaks `colorClass` (doing `undefined.length)
- There does not seem to be a way to check for empty objects in Handlebars (sigh) so checking `from.nick` seems like the most reliable way to check for a non-empty value. Alternatively, we could use a helper to check `{}` but meh.
2017-11-29 18:37:17 -05:00
..
audio Added badges and notifications 2014-07-08 01:15:10 +02:00
css Fix text highlighting when clicking on condensed message toggles 2017-11-26 14:05:23 -08:00
img Replace favico.js with our simpler solution 2016-02-28 01:27:30 +02:00
js Merge pull request #1757 from thelounge/xpaw/detached-sign-in 2017-11-27 18:32:20 -05:00
themes Merge pull request #1602 from thelounge/xpaw/remove-inconsolata 2017-11-06 22:15:19 +02:00
views Fix default value given to Msg.from 2017-11-29 18:37:17 -05:00
index.html Remove express-handlebars, read manifest.json to get theme-color 2017-11-19 19:43:43 +02:00
manifest.json Do not set app orientation in manifest to use user setting at OS level 2016-08-30 00:40:17 -04:00
robots.txt Normalize line endings 2014-09-13 14:29:45 -07:00
service-worker.js Use service worker to display notifications if available 2017-11-19 18:18:55 +02:00