Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

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

Open
contentfree opened this issue Apr 25, 2014 · 1 comment

Comments

@contentfree
Copy link

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

@contentfree
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant