javve / list.pagination.js

A pagination plugin for List.js
24 stars 23 forks source link

paginationTop/paginationBottom example in docs is incorrect #25

Open ghost opened 7 years ago

ghost commented 7 years ago

Nothing major here, but the example of the top and bottom pagination functionality in the documentation is not consistent with the .js file you get from the link at the top of the page. The example shows that you only need the "paginationTop" and "paginationBottom" classes respectively on the top and bottom list elements; however, I found through a short stint of trial and error that it seems you also need to put the "pagination" class on them. So the class string on the top and bottom pagination list elements respectively should be "pagination paginationTop" and "pagination paginationBottom" instead of just "paginationTop" and "paginationBottom".