Skip to content

Commit fb656ce

Browse files
t3chguyjryans
authored andcommitted
Remove will-navigate as we expect it to be broken like pre-8.0.2
1 parent 749d7e8 commit fb656ce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

electron_app/src/webcontents-handler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ function onEditableContextMenu(ev, params) {
174174

175175
module.exports = (webContents) => {
176176
webContents.on('new-window', onWindowOrNavigate);
177-
webContents.on('will-navigate', onWindowOrNavigate);
177+
// XXX: https://github.com/vector-im/riot-web/issues/8247
178+
// webContents.on('will-navigate', onWindowOrNavigate);
178179

179180
webContents.on('context-menu', function(ev, params) {
180181
if (params.linkURL || params.srcURL) {

0 commit comments

Comments
 (0)