twitter/bootstrap — pull request #5549 by mfansler (2012-10-16 16:38:02+00:00)
Title: fixes #5336: reorder focus() call to avoid scrolling

Simple fix to prevent the page from scrolling due to focus being called on the modal before it has finished its transition into view. See [Issue #5336](https://github.com/twitter/bootstrap/issues/5336).

@fat - I hope you'll let this go with no unit tests since the problem being fixed comes from CSS transitions which can't be tested in QUnit, afaik.