twitter/bootstrap — pull request #7996 by nonumber (2013-05-26 18:13:28+00:00)
Title: Auto positioning of tooltip

This patch changes the positioning of the tooltip when there is no room for the tooptip in the position it would normally show.

As discussed here: https://github.com/twitter/bootstrap/issues/7399