Created by: cscade
MooTools 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 for details.