twitter/bootstrap — pull request #6774 by nickroberts (2013-02-01 15:35:39+00:00)
Title: Add dynamic tooltip positioning

I have added an option to the tooltip plugin, for dynamic positioning. I was looking for this, and I noticed some other people thought that having this would be beneficial as well.

```javascript
$('.tip').tooltip({
dynamicPos: true
});
$('.pop').popover({
dynamicPos: true
});
```

I have created a fiddle to show its usage: http://jsfiddle.net/U4384/1/