1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 16:36:47 +02:00

Recompile JS

This commit is contained in:
Toby Zerner
2017-10-07 20:12:15 +10:30
parent 06aa37d2fd
commit 6a10b4484f
2 changed files with 5 additions and 4 deletions

View File

@@ -28828,7 +28828,7 @@ System.register('flarum/components/UserPage', ['flarum/components/Page', 'flarum
value: function show(user) {
this.user = user;
app.setTitle(user.username());
app.setTitle(user.displayName());
m.redraw();
}
@@ -29286,7 +29286,7 @@ System.register('flarum/helpers/avatar', [], function (_export, _context) {
// uploaded image, or the first letter of their username if they haven't
// uploaded one.
if (user) {
var username = user.username() || '?';
var username = user.displayName() || '?';
var avatarUrl = user.avatarUrl();
if (hasTitle) attrs.title = attrs.title || username;