Remove will-navigate as we expect it to be broken like pre-8.0.2

This commit is contained in:
Michael Telatynski 2020-03-02 11:09:06 +00:00
parent 0e37aa9f69
commit 0d9be8c255

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) {