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

Uncaught TypeError: Cannot read property 'blur' of undefined #30

Closed
versum opened this issue Sep 3, 2014 · 1 comment
Closed

Uncaught TypeError: Cannot read property 'blur' of undefined #30

versum opened this issue Sep 3, 2014 · 1 comment

Comments

@versum
Copy link

versum commented Sep 3, 2014

In my error reporting tool I have a lot of errors like:
Uncaught TypeError: Cannot read property 'blur' of undefined (line 625)
Uncaught TypeError: Cannot read property 'keepfocus' of undefined (line 664)

I couldn't reproduce this myself but you should consider adding a check to make sure that $(el).data('popupoptions') is not null.
You could also add a namespace to event bindings like click and keydown so that i could use off() function on them as I do not use those options.

melkybee added a commit to melkybee/jquery-popup-overlay that referenced this issue Apr 18, 2017
vladimirsiljkovic added a commit that referenced this issue May 30, 2017
Checks for undefined, null - related #30
@vladimirsiljkovic
Copy link
Contributor

Fixed in #70. Thanks for reporting, @ghost.

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