Skip to content

Commit

Permalink
webview: Enable webviewTag in webPreferences.
Browse files Browse the repository at this point in the history
* Addresses breaking change where webviewTag must be set to true when
setting webPreferences for a BrowserWindow.
  • Loading branch information
kanishk98 committed Jul 4, 2019
1 parent 98795a0 commit 24861fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ function createMainWindow() {
webPreferences: {
plugins: true,
nodeIntegration: true,
partition: 'persist:webviewsession'
partition: 'persist:webviewsession',
webviewTag: true
},
show: false
});
Expand Down

0 comments on commit 24861fd

Please sign in to comment.