relatively-sticky

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

commit
5562936c74beddb4617a14435fce3293567106b3
parent
95160d91ee4b2d0dfd495b537d097ff86ad2458b
Author
Connor Peet <connor@connorpeet.com>
Date
2014-09-16 01:38
Pull from window, if @jQuery doesn't resolve

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

@@ -2,7 +2,7 @@
    2     2 @license Sticky-kit v1.0.4 | WTFPL | Leaf Corcoran 2014 | http://leafo.net
    3     3 ###
    4     4 
    5    -1 $ = @jQuery
   -1     5 $ = @jQuery or window.jQuery
    6     6 
    7     7 win = $ window
    8     8 $.fn.stick_in_parent = (opts={}) ->