jquery/jquery-mobile — pull request #2837 by dmiddlecamp (2011-10-25 17:19:40+00:00)
Title: Issue 2226- persistent footer error caused by race condition during fast 

Issue 2226- persistent footer (stickyFooter) occasionally is null while browsing around. I think this error is caused by a race condition during fast switching, so I threw in the ye olde 'set / clear the setTimeout timer handle' trick, which fixes the bug for me. I ran the tests, seemed fine. I might be wrong about the nature of the bug, but this seems to do the trick. In any case, there maybe should also be a null guard inside the setTimeout callback?