Skip to content

JS error: Uncaught TypeError: Cannot set property 'popups' of undefined #635

@rkaiser0324

Description

@rkaiser0324

Version tagged 1.7.30. Latest version of Chrome, 71.0.3578.98.

This is due to late_localize_scripts() - currently you have

echo 'window.pum_vars.popups = window.pum_popups;';

Shouldn't it be

echo 'window.pum_vars = {}; window.pum_vars.popups = window.pum_popups;';

Doesn't seem to affect popup display though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions