mrk-j/paginga

[issue] this.items.length is not a function

nutzmdm opened this issue · 3 comments

I tried to use this very interresting plugin to paginate an

  • list but I encountered this error:

    this.items.length is not a function

    I use jquery 3.1.0

I tried to replace .size by .length but same issue

I think this should be this.items.length and not this.items.length()

mrk-j commented

Hi @nutzmdm, thanks for pointing this out. You are correct! The documentation says .size() is deprecated since jQuery 1.8.

Oops! 😬

I will fix this in a few minutes.