-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Fails in Customizer #26
Labels
Comments
Setting the response type might be unnecessary anyway. I think it can safely be removed. |
Had the same problem. Here's what I changed the
|
Thank you @onedanshow I found that the problem is if you have another script using the XMLHttpRequest and breaks it, then Ajaxinate can't run anymore. Your solution worked! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, the library works great in store, but fails in Customizer.
Looks like Customizer somehow forces the request to become synchronous and the code throws exception:
Looks like it can be fixed by not setting the this.request.responseType = 'document'; and then use
like DomParser on the response string?
The text was updated successfully, but these errors were encountered: