relatively-sticky

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

commit
bed35fe901ce51fc036a7cbcac3bfc1add661cf0
parent
2aa65b15307c7307c9dab435e7a9d67e321dcec1
Author
Pedro Cunha <pkunha@gmail.com>
Date
2013-12-04 12:11
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