I followed your tutorial for twitter-style pagination. However my links to specific pages didn't work, no ajax call was made at all. After debugging of el-pagination.js I found out, that I need to wrap my ajax content in endless_page_template class so that link.closest(settings.pageSelector) call actually finds element to call load on. Took me quite a while and this part was never mentioned. Did I miss something and was this supposed to add automatically? Otherwise this should be added to doc as it was pain to debug.
Hi,
I followed your tutorial for twitter-style pagination. However my links to specific pages didn't work, no ajax call was made at all. After debugging of el-pagination.js I found out, that I need to wrap my ajax content in
endless_page_template
class so thatlink.closest(settings.pageSelector)
call actually finds element to call load on. Took me quite a while and this part was never mentioned. Did I miss something and was this supposed to add automatically? Otherwise this should be added to doc as it was pain to debug.K.