Allow user to edit initial username

This commit is contained in:
Maxim Voloshin 2016-09-29 17:40:26 +03:00
parent 854fef35cb
commit 664d7a4f67
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ LocalVideo.prototype.setDisplayName = function(displayName, key) {
$('#localDisplayName').html( $('#localDisplayName').html(
`${UIUtil.escapeHtml(displayName)} (${meHTML})` `${UIUtil.escapeHtml(displayName)} (${meHTML})`
); );
$('#editDisplayName').val(
`${UIUtil.escapeHtml(displayName)}`
);
} else { } else {
$('#localDisplayName').html(defaultLocalDisplayName); $('#localDisplayName').html(defaultLocalDisplayName);
} }