ftlabs / ftellipsis

Multi-line ellipsis made possible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set()/unset() should bail if no child element will actually be clamped

contentfree opened this issue · comments

This is as simple as adding || !this.child.el to the first lines of set and unset

This lets us do things like the hide "Read more" links based on the presence of containerClass on the container.