Infinite Scroll only works after page refresh
Hi everyone,
I'm currently using the Infinite Scroll plugin and it seems to work fine but only after i refresh the same page where i use it. Here is the JQuery i'm using in a .js.coffee file
- $(document).ready ->
- $("TestPanel").infinitescroll({
- navSelector: "nav.pagination"
- nextSelector: "nav.pagination a[rel=next]"2)
- itemSelector: "#TestPanel tr.element"
- });
Is there additional Jquery that could be included to make sure it runs without having to do a page refresh firstly?
Thanks!