reattach
Closed this issue · 1 comments
andrew-ireland commented
Hi, I would like to re-attach sticky kit using an on resize handler after disabling it at a certain window width.
Is there a simple way to re-attach sticky kit after detaching?
andrew-ireland commented
nevermind, using: $(".sticky-item").trigger("sticky_kit:detach"); } else { $(".sticky-item").stick_in_parent();
did the trick well enough