In the documentation, it is written that you don't need to write code in general to use it. I have added that in my website, It is working fine on page load. But for any ajax request, it is not working. Do I need to add anything for ajax request?
Asked
Active
Viewed 7,071 times
6
-
What do you mean by not working? Which theme do you use? do you use jQuery's ajax everytime or any other framework? – Akshay Mar 27 '17 at 12:51
1 Answers
11
In your case you will need $(document).ajaxStart(function() { Pace.restart(); });

Akshay
- 3,558
- 4
- 43
- 77
-
This is the example, when I run this code it works perfectly fine but not in the case of ajax request. http://jsfiddle.net/QZ3ff/2857/ – Niks Mar 27 '17 at 13:10
-