web-preferences -> webPreferences
This commit is contained in:
parent
f5cf6d4ddd
commit
e735aa7dee
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ const mergeBrowserWindowOptions = function (embedder, options) {
|
|||
// Inherit the original options if it is a BrowserWindow.
|
||||
mergeOptions(options, embedder.browserWindowOptions)
|
||||
} else {
|
||||
// Or only inherit web-preferences if it is a webview.
|
||||
// Or only inherit webPreferences if it is a webview.
|
||||
mergeOptions(options.webPreferences, embedder.getWebPreferences())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue