- commit
- 799c8d649adaa8750e4e5a2ee5ad0d883271ca80
- parent
- 69023cda42ac176a51df1ed0211a9fae96606a42
- Author
- leaf <leafot@gmail.com>
- Date
- 2013-10-22 05:17
Merge pull request #14 from blairio/master Pull off top when unfixing
Diffstat
| M | jquery.sticky-kit.coffee | 1 | + |
1 files changed, 1 insertions, 0 deletions
diff --git a/jquery.sticky-kit.coffee b/jquery.sticky-kit.coffee
@@ -83,6 +83,7 @@ $.fn.stick_in_parent = (opts={}) ->
83 83 spacer.detach()
84 84 css = {
85 85 position: ""
-1 86 top: ""
86 87 }
87 88 css.width = "" if reset_width
88 89 elm.css(css).removeClass(sticky_class).trigger("sticky_kit:unstick")