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 JS errors in UI.js

hristoterezov97697ed9f01c
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index 2a04b4e66c..e846637b10 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -315,7 +315,7 @@ UI.start = function () {
"newestOnTop": false
};
- SettingsMenu.init();
+ SettingsMenu.init(eventEmitter);
}
};
@@ -349,7 +349,7 @@ UI.setSubject = function (subject) {
};
UI.initEtherpad = function (name) {
- if (etherpadManager) {
+ if (etherpadManager || !config.etherpad_base || !name) {
return;
}
console.log('Etherpad is enabled');