Skip to content

Commit

Permalink
Fix spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TsubasaBE committed Mar 19, 2018
1 parent dd6fc13 commit 1c2ce77
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ function createMainWindow() {
// in an array if your app supports multi windows, this is the time
// when you should delete the corresponding element.
mainWin = null;
if( mainWin !== null) {
if (mainWin !== null) {
mainWin = null;
}
if( presentationWin !== null) {
if (presentationWin !== null) {
presentationWin = null;
}
app.quit();
Expand Down Expand Up @@ -193,8 +193,7 @@ ipcMain.on('updatePresentationWindow', (event, form) => {

if (presentationWin === null) {
createPresentationWindow();
}
else {
} else {
presentationWin.webContents.send('updateLabels', form);
}
});

0 comments on commit 1c2ce77

Please sign in to comment.