mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 17:53:41 +02:00
Fix eslint warnings
This commit is contained in:
parent
f59a1f62b3
commit
6f35ddd792
|
@ -52,7 +52,7 @@ export default class Conference extends Component<*> {
|
|||
const iframe = api.getIFrame();
|
||||
|
||||
setupScreenSharingForWindow(iframe);
|
||||
new RemoteControl(iframe);
|
||||
new RemoteControl(iframe); // eslint-disable-line no-new
|
||||
setupAlwaysOnTopRender(api);
|
||||
setupWiFiStats(iframe);
|
||||
}
|
||||
|
|
5
main.js
5
main.js
|
@ -1,5 +1,5 @@
|
|||
/* global __dirname, process */
|
||||
// Electron includes
|
||||
|
||||
const electron = require('electron');
|
||||
const APP = electron.app;
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
|
@ -55,7 +55,7 @@ const jitsiMeetWindowOptions = {
|
|||
function setAPPListeners() {
|
||||
APP.on('ready', createJitsiMeetWindow);
|
||||
APP.on('window-all-closed', () => {
|
||||
// Don't quit the application for Mac OS
|
||||
// Don't quit the application for macOS.
|
||||
if (process.platform !== 'darwin') {
|
||||
APP.quit();
|
||||
}
|
||||
|
@ -66,6 +66,7 @@ function setAPPListeners() {
|
|||
}
|
||||
});
|
||||
APP.on('certificate-error',
|
||||
// eslint-disable-next-line max-params
|
||||
(event, webContents, url, error, certificate, callback) => {
|
||||
if (url.startsWith('https://localhost')) {
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue