-
Notifications
You must be signed in to change notification settings - Fork 311
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
This and ajax #81
Comments
Hi! You should find where the circle is initialized and make sure that it's before your AJAX call. I can't tell you more because the problem is specific to your code. You may create some code snippet (demo) that reproduces your case. |
Hi, thanks for replying. Code for animation initialization is below, it was written by designer. Our page, due to calls to essential API that can take a bit to process is loaded with just HTML . On document.ready, AJAX call is fired to get the data from this API. So if I call
|
I'd be great to see what you do with AJAX and how do you insert HTML from it (and call |
Just simple
|
what's in |
Response from ajax call
|
Could you show the |
They're exactly the same. Relevant part looks like this.
|
I see a problem with your function initCircleProgress() {
// ...
win.on('scroll load', animationCall);
} On the first run everything is fine. |
Thanks, unbinding that event before binding it again solved the problem. |
You're welcome! ;) |
Hello. So designer used your plugin (which is nice, thank you for your work) but I've encountered a problem. When I load things it uses with AJAX for the first time, it works fine. But after that, after all subsequent AJAX calls, it throws 'Calling "value" method on not initialized instance is forbidden'. What should I do in this case?
The text was updated successfully, but these errors were encountered: