Skip to content

JavaScript SyntaxError: redeclaration of const withForms #389

@pandafy

Description

@pandafy

Similar to issue #383, the withForms variable is leaking to the global scope in leaflet.draw.i18n.js.

...leaflet.draw.i18n.js is rendered twice on the page, leading to an error in its second execution:

Uncaught SyntaxError: Identifier 'withForms' has already been declared (at leaflet.draw.i18n.js:1:1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions