Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mootools conflict? #63

Open
rmuzzini opened this issue Jun 14, 2021 · 0 comments
Open

mootools conflict? #63

rmuzzini opened this issue Jun 14, 2021 · 0 comments

Comments

@rmuzzini
Copy link

very nice script.
it works flawlessly in simple sites.
whilst it seems having sort of conflict with mootools, beyond my comprehension & knowledges. :-)
i.e. if i link the scripts like it follows:

<script src="/cookieconsent.js"></script> <script src="/cookieconsent-init.js"></script> <script src="/mootools-core.js"></script> …

i get errors like
TypeError: ({}) is not a function
as if mootools tried to evaluate functions during the "modal" building (in "parseArguments" …?)
and, even if i use a "try…catch" statement to let the script goes to the end, then i get lot of unexpected lines in the categories tab ([Missing language object]), one for each "function" mootools catch.

anyone has a workaround for such weird behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant