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

Fix ajax error in hyva theme #131

Merged
merged 1 commit into from Jan 9, 2024
Merged

Fix ajax error in hyva theme #131

merged 1 commit into from Jan 9, 2024

Conversation

ah-net
Copy link
Collaborator

@ah-net ah-net commented Dec 13, 2023

When using the hyva theme and ajax navigation, you get js errors. These errors are caused by remove line endings in js for comments. This pull requests prevents the removal from line endings in the response to prevent js errors.

VM28277:1 Uncaught SyntaxError: Unexpected end of input
at Proxy.ajaxUpdateBlocks (tops-men.html?product_list_order=Name:3327:52)
at tops-men.html?product_list_order=Name:3251:30
ajaxUpdateBlocks

@ah-net ah-net merged commit c8078e3 into master Jan 9, 2024
3 checks passed
@ah-net ah-net deleted the bugfix-hyva-ajax-error branch January 9, 2024 14:35
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

Successfully merging this pull request may close these issues.

None yet

1 participant