twitter/bootstrap — pull request #7547 by cscade (2013-04-11 21:20:04+00:00)
Title: Fix bootstrap-tooltip events interfering with MooTools Element.Shortcuts

MooTools [Element.Shortcuts](http://mootools.net/docs/more/Element/Element.Shortcuts) extends DOM elements with .hide() and .show() methods.

Unfortunately, because of the way jQuery .trigger() will call any methods of the same name as the event on the evented object, every time a tooltip hides, it also causes the underlying DOM element it is attached to to have it's .hide() method called.

This is obviously not desirable. This commit changes all .trigger() calls in tooltip to .triggerHandler() calls, preventing the undesirable behavior.

All bootstrap tests still pass, and the events on tooltip can still be used as intended.

See Note just before Examples in [.trigger() | jQuery API Documentation](http://api.jquery.com/trigger/) for details.