浏览代码

style(conference.js): style fixes

master
paweldomas 8 年前
父节点
当前提交
8093043d39
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      conference.js

+ 5
- 4
conference.js 查看文件

562
                 // FIXME If there will be microphone error it will cover any
562
                 // FIXME If there will be microphone error it will cover any
563
                 // screensharing dialog, but it's still better than in
563
                 // screensharing dialog, but it's still better than in
564
                 // the reverse order where the screensharing dialog will
564
                 // the reverse order where the screensharing dialog will
565
-                // sometime be closing the microphone alert ($.prompt.close();
565
+                // sometimes be closing the microphone alert ($.prompt.close();
566
                 // is called). Need to figure out dialogs chaining to fix that.
566
                 // is called). Need to figure out dialogs chaining to fix that.
567
                 if (screenSharingError) {
567
                 if (screenSharingError) {
568
                     this._handleScreenSharingError(screenSharingError);
568
                     this._handleScreenSharingError(screenSharingError);
570
                 if (audioAndVideoError || audioOnlyError) {
570
                 if (audioAndVideoError || audioOnlyError) {
571
                     if (audioOnlyError || videoOnlyError) {
571
                     if (audioOnlyError || videoOnlyError) {
572
                         // If both requests for 'audio' + 'video' and 'audio'
572
                         // If both requests for 'audio' + 'video' and 'audio'
573
-                        // only failed, we assume that there is some problems
573
+                        // only failed, we assume that there are some problems
574
                         // with user's microphone and show corresponding dialog.
574
                         // with user's microphone and show corresponding dialog.
575
                         APP.UI.showDeviceErrorDialog(
575
                         APP.UI.showDeviceErrorDialog(
576
                             audioOnlyError, videoOnlyError);
576
                             audioOnlyError, videoOnlyError);
1307
                             break;
1307
                             break;
1308
                         }
1308
                         }
1309
                         case "extensionFound": {
1309
                         case "extensionFound": {
1310
-                            if (externalInstallation) //close the dialog
1310
+                            if (externalInstallation) { //close the dialog
1311
                                 $.prompt.close();
1311
                                 $.prompt.close();
1312
+                            }
1312
                             break;
1313
                             break;
1313
                         }
1314
                         }
1314
                         default: {
1315
                         default: {
1317
                     }
1318
                     }
1318
                 }
1319
                 }
1319
             }
1320
             }
1320
-        }).then(([desktopStream])=> {
1321
+        }).then(([desktopStream]) => {
1321
             // Stores the "untoggle" handler which remembers whether was
1322
             // Stores the "untoggle" handler which remembers whether was
1322
             // there any video before and whether was it muted.
1323
             // there any video before and whether was it muted.
1323
             this._untoggleScreenSharing
1324
             this._untoggleScreenSharing

正在加载...
取消
保存