alphagov/govuk_frontend_toolkit — pull request #15 by edds (2012-11-06 10:15:37+00:00)
Title: Use an event for page resize.

Use an event to trigger page size change which stop scrolling at footer can listen to. This lets us decouple the code more and will allow other things to listen in also.

Also has a minor bug fix which caused the box to assume the wrong position when the footer had been reached.