Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Commit a6c4142

Browse files
committed
Fix problems with reload
1 parent 6220044 commit a6c4142

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ app.on('activate', () => {
9292
* Create the application menu
9393
*/
9494
function createMenu () {
95-
const menu = Menu.buildFromTemplate(menuTemplate(os.platform() === 'darwin', load, setPage))
95+
const menu = Menu.buildFromTemplate(menuTemplate(browserWindow, os.platform() === 'darwin', load, setPage))
9696
Menu.setApplicationMenu(menu)
9797
}
9898

menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = function (darwin, load, setPage) {
1+
module.exports = function (browserWindow, darwin, load, setPage) {
22
var menu = [{
33
label: 'Go',
44
submenu: [

0 commit comments

Comments
 (0)