Fixed email links being rejected by will-navigate (#1093)
This commit is contained in:
parent
020c7b8220
commit
90963e8381
|
@ -389,6 +389,9 @@ function handleAppWebContentsCreated(dc, contents) {
|
|||
if (isTrustedURL(parsedURL) || isTrustedPopupWindow(event.sender)) {
|
||||
return;
|
||||
}
|
||||
if (parsedURL.protocol === 'mailto:') {
|
||||
return;
|
||||
}
|
||||
if (customLogins[contentID].inProgress) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue