Skip to content

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

Closed
@qkevinto

Description

@qkevinto

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! 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions