twitter/bootstrap — pull request #3109 by turp (2012-04-17 10:10:01+00:00)
Title: Prevent tooptip from displaying under navbar and off screen

Tooltip/popover fix:
* Increased z-index to 1031 to allow tooltips and popovers to display on top of navbar.
* Added fix to tooltip to prevent it from rendering off screen (negative top or left values)

To reproduce the issue, add a popover to $(".branding") in one of the demo pages