From 0d9be8c2557f2e2e016aa363c25ffe26a4c653b2 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 bbfb2e7da7..f0aaf4a4f1 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) {