mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Remove will-navigate as we expect it to be broken like pre-8.0.2
This commit is contained in:
parent
749d7e8e4c
commit
fb656ce8bd
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ function onEditableContextMenu(ev, params) {
|
||||||
|
|
||||||
module.exports = (webContents) => {
|
module.exports = (webContents) => {
|
||||||
webContents.on('new-window', onWindowOrNavigate);
|
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) {
|
webContents.on('context-menu', function(ev, params) {
|
||||||
if (params.linkURL || params.srcURL) {
|
if (params.linkURL || params.srcURL) {
|
||||||
|
|
Loading…
Reference in a new issue