From 664d7a4f675b86d41ce2636790328710dcbd48e0 Mon Sep 17 00:00:00 2001 From: Maxim Voloshin Date: Thu, 29 Sep 2016 17:40:26 +0300 Subject: [PATCH] Allow user to edit initial username --- modules/UI/videolayout/LocalVideo.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js index ed4d67105..e6cf690dc 100644 --- a/modules/UI/videolayout/LocalVideo.js +++ b/modules/UI/videolayout/LocalVideo.js @@ -74,6 +74,9 @@ LocalVideo.prototype.setDisplayName = function(displayName, key) { $('#localDisplayName').html( `${UIUtil.escapeHtml(displayName)} (${meHTML})` ); + $('#editDisplayName').val( + `${UIUtil.escapeHtml(displayName)}` + ); } else { $('#localDisplayName').html(defaultLocalDisplayName); }