relatively-sticky

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

commit
6d2186df51b57f972c43a1058bc4f3a974be02a9
parent
2aa65b15307c7307c9dab435e7a9d67e321dcec1
Author
leaf <leafot@gmail.com>
Date
2013-12-04 16:24
Merge pull request #20 from pedrocunha/master

Do not use console it breaks IE9

Diffstat

M jquery.sticky-kit.coffee 1 -

1 files changed, 0 insertions, 1 deletions


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

@@ -43,7 +43,6 @@ $.fn.stick_in_parent = (opts={}) ->
   43    43           true
   44    44 
   45    45         top = elm.offset().top - parseInt(elm.css("margin-top"), 10) - offset_top
   46    -1         console.log "setting top", top
   47    46 
   48    47         height = elm.outerHeight true
   49    48