Skip to content

Commit e144005

Browse files
committed
fixing trailing whitespaces and other things
1 parent da58783 commit e144005

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

renderer-process/windows/manage-window.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manageWindowBtn.addEventListener('click', function (event) {
99
win = new BrowserWindow({ width: 400, height: 275 })
1010
win.on('resize', updateReply)
1111
win.on('move', updateReply)
12-
win.on('close', () => { win = null })
12+
win.on('close', () => { win = null })
1313
win.loadURL(modalPath)
1414
win.show()
1515
function updateReply () {

renderer-process/windows/using-window-events.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ manageWindowBtn.addEventListener('click', () => {
1010
win = new BrowserWindow({ width: 600, height: 400 })
1111
win.on('focus', hideFocusBtn)
1212
win.on('blur', showFocusBtn)
13-
win.on('close', () => {
13+
win.on('close', () => {
1414
hideFocusBtn()
15-
win = null
15+
win = null
1616
})
1717
win.loadURL(modalPath)
1818
win.show()
@@ -21,7 +21,6 @@ manageWindowBtn.addEventListener('click', () => {
2121
focusModalBtn.classList.add('smooth-appear')
2222
focusModalBtn.classList.remove('disappear')
2323
focusModalBtn.addEventListener('click', () => win.focus())
24-
2524
}
2625
function hideFocusBtn () {
2726
focusModalBtn.classList.add('disappear')

0 commit comments

Comments
 (0)