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 'loaded' of undefined #477

Closed
qkevinto opened this issue Mar 30, 2017 · 1 comment
Closed

Uncaught TypeError: Cannot read property 'loaded' of undefined #477

qkevinto opened this issue Mar 30, 2017 · 1 comment
Labels

Comments

@qkevinto
Copy link

qkevinto commented Mar 30, 2017

If iframe.iframeResizer.close() is called shortly after the iframe has been loaded, the particular iframe will be removed from the settings object, but it appears that the trigger() function still gets called 2 or 3 times, and it throws Uncaught TypeError: Cannot read property 'loaded' of undefined as settings[id] (18df681#diff-dc9292a3e8d7708966ee5ec5ba1b00beR652) is undefined at this point.

Great library by the way! 😃

@davidjbradshaw
Copy link
Owner

I knew a x.x.13 release was going to be unlucky. Will take a look later today. Thanks.

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

2 participants