twitter/bootstrap — pull request #5325 by acconrad (2012-09-27 20:14:07+00:00)
Title: Confine Tooltip to Viewport

This is to address issues with keeping the tooltip in bounds on mobile devices, so we zero the Top and Left CSS values of the tooltip just in case they become negative.