bigspotteddog/ScrollToFixed — pull request #110 by laurent-bettin (2013-11-13 17:18:16+00:00)
Title: Remove spacer when triggering detach.ScrollToFixed event

Hi and thanks for your plugin.

When triggering detach.ScrollToFixed event, spacer is not removed from the dom.
In case of multiple detach / attach event unnecessary extra elements could stay in the dom.

Here a demo : http://jsfiddle.net/Q46Gh/

The fix simply remove the spacer when event is triggering.

My editor automatically trim extra whitespace sorry.