relatively-sticky

A jQuery plugin for creating smart sticky elements
git clone https://git.ce9e.org/relatively-sticky.git

commit
d2083c58e26f7989d8b9f8f8cbe145206904a1ab
parent
690259a8d52ac0bf949a1fec845dfaa1b63a0d43
Author
Pierre Spring <pierre@nelm.io>
Date
2014-03-25 09:28
restore bottomed state

Diffstat

M jquery.sticky-kit.coffee 2 ++

1 files changed, 2 insertions, 0 deletions


diff --git a/jquery.sticky-kit.coffee b/jquery.sticky-kit.coffee

@@ -34,10 +34,12 @@ $.fn.stick_in_parent = (opts={}) ->
   34    34 
   35    35         restore = if fixed
   36    36           fixed = false
   -1    37           bottomed = false
   37    38           elm.insertAfter(spacer).css {
   38    39             position: ""
   39    40             top: ""
   40    41             width: ""
   -1    42             bottom: ""
   41    43           }
   42    44           spacer.detach()
   43    45           true