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

Don't return null in onbeforeunload #41

Merged
merged 1 commit into from Nov 8, 2013

Conversation

manelclos
Copy link
Contributor

Internet Explorer will always ask you if you want to leave the page if "null" is returned. See:

http://stackoverflow.com/questions/11793996/onbeforeunload-handler-says-null-in-ie

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 98f14ef on manelclos:master into 1dfc1f6 on makinacorpus:master.

@leplatrem
Copy link
Collaborator

Good catch, thanks !

leplatrem added a commit that referenced this pull request Nov 8, 2013
Don't return null in onbeforeunload
@leplatrem leplatrem merged commit 3aedf52 into makinacorpus:master Nov 8, 2013
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

Successfully merging this pull request may close these issues.

None yet

3 participants