diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js index d806c6efb..021f026b6 100644 --- a/modules/UI/videolayout/LocalVideo.js +++ b/modules/UI/videolayout/LocalVideo.js @@ -114,7 +114,7 @@ LocalVideo.prototype.setDisplayName = function(displayName) { e.preventDefault(); e.stopPropagation(); - $localDisplayName.hide(); + UIUtil.setVisibility($localDisplayName, false); $editDisplayName.show(); $editDisplayName.focus(); $editDisplayName.select(); @@ -122,7 +122,7 @@ LocalVideo.prototype.setDisplayName = function(displayName) { $editDisplayName.one("focusout", function () { self.emitter.emit(UIEvents.NICKNAME_CHANGED, this.value); $editDisplayName.hide(); - $localDisplayName.show(); + UIUtil.setVisibility($localDisplayName, true); }); $editDisplayName.on('keydown', function (e) {