From fb656ce8bdcb0cfe377ad80d30b7d6a3177b52e8 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 2 Mar 2020 11:09:06 +0000 Subject: [PATCH] Remove will-navigate as we expect it to be broken like pre-8.0.2 --- electron_app/src/webcontents-handler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electron_app/src/webcontents-handler.js b/electron_app/src/webcontents-handler.js index bbfb2e7d..f0aaf4a4 100644 --- a/electron_app/src/webcontents-handler.js +++ b/electron_app/src/webcontents-handler.js @@ -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) {