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

Commit

Permalink
Fix problems with reload
Browse files Browse the repository at this point in the history
  • Loading branch information
matthinc committed Feb 5, 2018
1 parent 6220044 commit a6c4142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -92,7 +92,7 @@ app.on('activate', () => {
* Create the application menu
*/
function createMenu () {
const menu = Menu.buildFromTemplate(menuTemplate(os.platform() === 'darwin', load, setPage))
const menu = Menu.buildFromTemplate(menuTemplate(browserWindow, os.platform() === 'darwin', load, setPage))
Menu.setApplicationMenu(menu)
}

Expand Down
2 changes: 1 addition & 1 deletion menu.js
@@ -1,4 +1,4 @@
module.exports = function (darwin, load, setPage) {
module.exports = function (browserWindow, darwin, load, setPage) {
var menu = [{
label: 'Go',
submenu: [
Expand Down

0 comments on commit a6c4142

Please sign in to comment.