Merge pull request #5159 from djpereira/patch-1
Sample missing reference to webContents for toggleDevTools
This commit is contained in:
commit
44bc24174c
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…
Add table
Add a link
Reference in a new issue