Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 11 doesn’t like mailto in window.location.href #2

Closed
imthenachoman opened this issue Mar 10, 2016 · 1 comment
Closed

IE 11 doesn’t like mailto in window.location.href #2

imthenachoman opened this issue Mar 10, 2016 · 1 comment
Labels

Comments

@imthenachoman
Copy link
Owner

It works in Chrome but not IE. Changing to window.location makes it work for both.

// opens a tile link
var openLink = tiles.openLink = function(tile, type, url)
{
    if(type === "none") return;
    var holderID = tile.parentNode.parentNode.id;
    if(/^mailto:.*?@.*$/.test(url))
    {
           window.location.href = d; // RIGHT HERE
    }
@imthenachoman
Copy link
Owner Author

fixed in version 1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant