Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes an issue with mixing visibility functions for elements.

damenchofec8f4e005b8
diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js
index d806c6efbc..021f026b6c 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) {