don't create new Tooltip/Popover objects just to destroy them immediately
Add 'collapse' class back after expanding
Only preventDefault on click on [data-toggle="modal"] when the element is a link

In it's current state Bootstrap always prevents the default action for a click
event on `[data-toggle="modal"]` elements
(see https://github.com/twbs/bootstrap/blob/master/js/modal.js#L233).
Instead this should only happen when the element is a link.
Clear timeout on destroy.

Clears the internal timeout on destroy so that hanging timers are not fired.
Merge pull request #10834 from Prinzhorn/master

Only preventDefault on click on [data-toggle="modal"] when the element is a link
Merge pull request #10801 from Travesty3/master

Add 'collapse' class back after expanding
fixes #10798
Merge pull request #11496 from satazor/patch-1

Clear timeout on destroy.
nope
Merge pull request #10761 from jochenberger/dont-create-tooltip-for-destroy

don't create new Tooltip/Popover objects just to destroy them immediately