Merge pull request #961 from m-voloshin/username-editing
Allow user to edit initial username
This commit is contained in:
commit
0dcf8add63
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue