Skip to content

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

fix(MessageHandler): hide the close button when 'persistent'

paweldomas0238a10a4b4a
diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js
index 916e4d93fc..d80a51397f 100644
--- a/modules/UI/util/MessageHandler.js
+++ b/modules/UI/util/MessageHandler.js
@@ -290,7 +290,15 @@ var messageHandler = {
buttons: buttons,
defaultButton: 1,
promptspeed: 0,
- loaded: loadedFunction,
+ loaded: function() {
+ if (loadedFunction) {
+ loadedFunction.apply(this, arguments);
+ }
+ // Hide the close button
+ if (persistent) {
+ $(".jqiclose", this).hide();
+ }
+ },
submit: dontShowAgainSubmitFunctionWrapper(
dontShowAgain, submitFunction),
close: closeFunction,