changed outlook link to outlook.live
This commit is contained in:
parent
6a67892595
commit
bfae93f898
2
dist/mailgo.js
vendored
2
dist/mailgo.js
vendored
@ -243,7 +243,7 @@ var actions = {
|
|||||||
return window.open("https://mail.google.com/mail?extsrc=mailto&url=" + encodeURIComponent(mailtoHref), "_blank");
|
return window.open("https://mail.google.com/mail?extsrc=mailto&url=" + encodeURIComponent(mailtoHref), "_blank");
|
||||||
},
|
},
|
||||||
openOutlook: function openOutlook(mail, url) {
|
openOutlook: function openOutlook(mail, url) {
|
||||||
return window.open("https://outlook.office.com/owa/?rru=compose&to=" + encodeURIComponent(mail) + url.search.replace(/^[$]/, "&"), "_blank");
|
return window.open("https://outlook.live.com/owa/?path=/mail/action/compose&to=" + encodeURIComponent(mail) + url.search.replace(/^[$]/, "&"), "_blank");
|
||||||
},
|
},
|
||||||
openDefault: function openDefault(encEmail) {
|
openDefault: function openDefault(encEmail) {
|
||||||
return mailToEncoded(encEmail);
|
return mailToEncoded(encEmail);
|
||||||
|
2
dist/mailgo.min.js
vendored
2
dist/mailgo.min.js
vendored
File diff suppressed because one or more lines are too long
@ -305,7 +305,7 @@ const actions = {
|
|||||||
|
|
||||||
openOutlook: (mail, url) =>
|
openOutlook: (mail, url) =>
|
||||||
window.open(
|
window.open(
|
||||||
"https://outlook.office.com/owa/?rru=compose&to=" +
|
"https://outlook.live.com/owa/?path=/mail/action/compose&to=" +
|
||||||
encodeURIComponent(mail) +
|
encodeURIComponent(mail) +
|
||||||
url.search.replace(/^[$]/, "&"),
|
url.search.replace(/^[$]/, "&"),
|
||||||
"_blank"
|
"_blank"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user