Update menu.md
There was a missing reference to webContents.
This commit is contained in:
parent
64d37065bd
commit
7b56085a0a
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ var template = [
|
|||
})(),
|
||||
click: function(item, focusedWindow) {
|
||||
if (focusedWindow)
|
||||
focusedWindow.toggleDevTools();
|
||||
focusedWindow.webContents.toggleDevTools();
|
||||
}
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue