Skip to content

Uncaught ReferenceError: klaro is not defined #541

@mischa-geiger

Description

@mischa-geiger

Hello,

I downloaded klaro-no-translations-no-css.js in the current version 0.7.22 from the CDN and installed it locally. Initially the content banner was loaded with my config, but it could not be called later with klaro.show();. I always received the error message

Uncaught ReferenceError: klaro is not defined

After some searching I realized that in klaro-no-translations-no-css.js since v0.7.20 the object is exported with the name 'klaro-no-translations' instead of klaro.

See:
v.0.7.18: https://cdn.kiprotect.com/klaro/v0.7.18/klaro-no-translations-no-css.js
v.0.7.20: https://cdn.kiprotect.com/klaro/v0.7.20/klaro-no-translations-no-css.js
v.0.7.22: https://cdn.kiprotect.com/klaro/v0.7.22/klaro-no-translations-no-css.js

Shouldn't it also be named 'klaro' here?

Thanks
Mischa

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