Skip to content

Can't close modals #232

@Matthieu1987

Description

@Matthieu1987

Hello
we have problem with some modals. They won't close and trigger error.

gdprFunctions[callback]();

gdpr-public.js?ver=2.1.0:1 Uncaught TypeError: t[o] is not a function
var o = e(this).data("callback"); t[o]()
Maybe there are no callback in the element ? However, i just verify if the function exist before trigger it.
var o = e(this).data("callback"); if(typeof t[o] === 'function'){ t[o]() }

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