somewebmedia/hc-sticky — pull request #12 by alexcason (2014-09-05 11:31:19+00:00)
Title: Remove element size check when attaching scroll function

With the size check in place it means that the scroll event is never attached when the sticky element is the same size or larger than the content.

However, when the content size can increase dynamically then this means that the sticky element doesn't work correctly, as shown in the following gif.

![hc-sticky-bug2](https://cloud.githubusercontent.com/assets/807425/4164070/c47b4cc8-34ef-11e4-90e5-253dd036bcde.gif)

I've removed the check so that the scroll event is always attached. This means that when the content size dynamically changes the sticky element works correctly.

![hc-sticky-bug2-resolved](https://cloud.githubusercontent.com/assets/807425/4164091/168ee790-34f0-11e4-9b9a-dceb542165a5.gif)

I've also updated the minified javascript.