Fixed email links being rejected by will-navigate (#1093)

This commit is contained in:
Devin Binnie 2019-11-14 04:48:15 -05:00 committed by Guillermo Vayá
parent 020c7b8220
commit 90963e8381

View file

@ -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;
}