Merge pull request #961 from m-voloshin/username-editing

Allow user to edit initial username
This commit is contained in:
yanas 2016-09-29 10:34:17 -05:00 committed by GitHub
commit 0dcf8add63
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);
} }