- commit
- a9cf9d5aa9849a27dc13afda42669cbbd41ba8ed
- parent
- 69023cda42ac176a51df1ed0211a9fae96606a42
- Author
- blairio <blairio@gmail.com>
- Date
- 2013-10-12 05:55
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")