Fixes JS errors in UI.js

This commit is contained in:
hristoterezov 2015-12-30 14:57:28 -06:00
parent 9b7ddec703
commit 97697ed9f0
1 changed files with 2 additions and 2 deletions

View File

@ -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');