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

Disable exception alerts #22

Open
ShadSterling opened this issue Jun 8, 2016 · 0 comments
Open

Disable exception alerts #22

ShadSterling opened this issue Jun 8, 2016 · 0 comments

Comments

@ShadSterling
Copy link

I'm working on a project where all exceptions are logged and none alerted. I want the exceptions in the callback to div.svg(...) to behave the same way as exceptions everywhere else.

In case others have this problem, there is an ugly workaround: put the body of the callback in a setTimeout:

div.svg( { onLoad: function(svg) {
    setTimeout( function() {
        ...
    }, 0 );
} } );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant