kswedberg / jquery-expander

Expand and Collapse HTML content
https://kswedberg.github.io/jquery-expander/
Other
459 stars 168 forks source link

Upgrade to jQuery 3 #124

Closed taskinoz closed 4 years ago

taskinoz commented 4 years ago

Replacing bind/unbind with on/off will allow it to work with jQuery 3.

I also fixed an error in the readme with one of the code examples.

.expander({
    showWordCount: true,
    preserveWords: false,
    slicePoint: 30
  });
kswedberg commented 4 years ago

Closed by dee1b31e30f8a5f810181c6a19bd0dfd817c0585 Thank you, @taskinoz !