relatively-sticky

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

commit
9eb549309a5986830931680c7a789de61214e596
parent
d2083c58e26f7989d8b9f8f8cbe145206904a1ab
Author
Pierre Spring <pierre@nelm.io>
Date
2014-03-25 09:46
fix scping

Diffstat

M jquery.sticky-kit.coffee 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -22,6 +22,7 @@ $.fn.stick_in_parent = (opts={}) ->
   22    22       throw "failed to find stick parent" unless parent.length
   23    23 
   24    24       fixed = false
   -1    25       bottomed = false
   25    26       spacer = $("<div />")
   26    27 
   27    28       recalc = ->
@@ -63,7 +64,6 @@ $.fn.stick_in_parent = (opts={}) ->
   63    64       recalc()
   64    65       return if height == parent_height
   65    66 
   66    -1       bottomed = false
   67    67       last_pos = undefined
   68    68       offset = offset_top
   69    69