style(conference.js): style fixes

This commit is contained in:
paweldomas 2017-07-18 12:28:27 +02:00
parent 3fbb022ffb
commit 8093043d39
1 changed files with 5 additions and 4 deletions

View File

@ -562,7 +562,7 @@ export default {
// FIXME If there will be microphone error it will cover any // FIXME If there will be microphone error it will cover any
// screensharing dialog, but it's still better than in // screensharing dialog, but it's still better than in
// the reverse order where the screensharing dialog will // the reverse order where the screensharing dialog will
// sometime be closing the microphone alert ($.prompt.close(); // sometimes be closing the microphone alert ($.prompt.close();
// is called). Need to figure out dialogs chaining to fix that. // is called). Need to figure out dialogs chaining to fix that.
if (screenSharingError) { if (screenSharingError) {
this._handleScreenSharingError(screenSharingError); this._handleScreenSharingError(screenSharingError);
@ -570,7 +570,7 @@ export default {
if (audioAndVideoError || audioOnlyError) { if (audioAndVideoError || audioOnlyError) {
if (audioOnlyError || videoOnlyError) { if (audioOnlyError || videoOnlyError) {
// If both requests for 'audio' + 'video' and 'audio' // If both requests for 'audio' + 'video' and 'audio'
// only failed, we assume that there is some problems // only failed, we assume that there are some problems
// with user's microphone and show corresponding dialog. // with user's microphone and show corresponding dialog.
APP.UI.showDeviceErrorDialog( APP.UI.showDeviceErrorDialog(
audioOnlyError, videoOnlyError); audioOnlyError, videoOnlyError);
@ -1307,8 +1307,9 @@ export default {
break; break;
} }
case "extensionFound": { case "extensionFound": {
if (externalInstallation) //close the dialog if (externalInstallation) { //close the dialog
$.prompt.close(); $.prompt.close();
}
break; break;
} }
default: { default: {