mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Update menu.md
There was a missing reference to webContents.
This commit is contained in:
@@ -109,7 +109,7 @@ var template = [
|
||||
})(),
|
||||
click: function(item, focusedWindow) {
|
||||
if (focusedWindow)
|
||||
focusedWindow.toggleDevTools();
|
||||
focusedWindow.webContents.toggleDevTools();
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user