lavaca
lavaca copied to clipboard
Mailto opens in _blank
Expected behavior: User clicks href="mailto:[email protected]" and users email client opens.
Current behavior: User clicks href="mailto:[email protected]" and new _blank window along side the users email client.
My current fix although I have not done extensive testing in Application.js
isMail = url.indexOf('mailto:') > -1 ? true : false;
if(isMail){
target = '_top';
}