Merge pull request #12585 from vector-im/t3chguy/sso

Fix SSO flows for electron 8.0.2 by re-breaking will-navigate
pull/12590/head
Michael Telatynski 2020-03-02 12:56:41 +00:00 committed by GitHub
commit e238fead7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,8 @@ function onEditableContextMenu(ev, params) {
module.exports = (webContents) => {
webContents.on('new-window', onWindowOrNavigate);
webContents.on('will-navigate', onWindowOrNavigate);
// XXX: https://github.com/vector-im/riot-web/issues/8247
// webContents.on('will-navigate', onWindowOrNavigate);
webContents.on('context-menu', function(ev, params) {
if (params.linkURL || params.srcURL) {