truncate.js
truncate.js copied to clipboard
Doesn't add a less button after two times
https://github.com/jeffchan/truncate.js/blob/f34e7e8d6f12126d2fcc7e6d1f00359fe7a2238e/dist/truncate.js#L496
I tried to using the plugin but for some reason it don't add a less button after expand it two times (expand, collapse, expand). I found the reason at that line, but don't really know why this is happen.
Find my fiddle and try it by yourself: https://jsfiddle.net/tricd/ovw1mtz8/
hi @tobias-redmann did you find a solution?
Hi @tobias-redmann, did you end up finding a fix? cc: @vangelis183