shtalinberg / django-el-pagination

Django endless pagination tools. Ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination.
MIT License
307 stars 71 forks source link

Missing piece in doc #129

Open hovi opened 5 years ago

hovi commented 5 years ago

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 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.

K.