diff --git a/sticky-kit.coffee b/sticky-kit.coffee index 8f2ef60..1b8f9bd 100644 --- a/sticky-kit.coffee +++ b/sticky-kit.coffee @@ -14,6 +14,7 @@ $.fn.stick_in_parent = (opts={}) -> offset_top spacer: manual_spacer bottoming: enable_bottoming + force_sticky } = opts offset_top ?= 0 @@ -104,7 +105,7 @@ $.fn.stick_in_parent = (opts={}) -> tick() recalc() - return if height == parent_height + return if height == parent_height && force_sticky != true last_pos = undefined offset = offset_top