We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I know that Prototype is an old framework but it is still used by Magento 1.9.
When I use cookieconsent with Prototype (the latest version), the selection saved in the cookie is empty (the categories array is empty)
No response
3.0.1
The text was updated successfully, but these errors were encountered:
@claudiuj, this is due to prototype modifying the standard Array.from function, see prototypejs/prototype#338.
Array.from
You can restore the default Array.from as suggested in prototypejs/prototype#362:
<script> const iframe = document.body.appendChild( document.createElement('iframe') ); const iframeArray = iframe.contentWindow.Array; document.body.removeChild(iframe); Array.from = iframeArray.from; </script> <script type="module" src="cookieconsent-config.js"></script>
This might break other things in your page though.
Sorry, something went wrong.
it is working;
Thank you.
No branches or pull requests
Expected Behavior
I know that Prototype is an old framework but it is still used by Magento 1.9.
Current Behavior
When I use cookieconsent with Prototype (the latest version), the selection saved in the cookie is empty (the categories array is empty)
Steps to reproduce
Proposed fix or additional info.
No response
Version
3.0.1
On which browser do you see the issue?
No response
The text was updated successfully, but these errors were encountered: