Skip to content

Commit 7068349

Browse files
t3chguyturt2live
authored andcommitted
Revert "Remove will-navigate as we expect it to be broken like pre-8.0.2"
This reverts commit fb656ce.
1 parent 43b70bf commit 7068349

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎electron_app/src/webcontents-handler.js‎

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

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

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

0 commit comments

Comments
 (0)