jaz303/tipsy — pull request #125 by argatlz (2012-12-05 03:42:21+00:00)
Title: Hide tooltip when clicking on the target element / Prevent the sticky tooltip bug

With this change, you can hide the tooltip when the user clicks on the target element.

Use $(...).tipsy({hideOnClick: true});

Only applies with the default trigger - not with the 'focus' trigger.

Old behaviour: When you click on the element pointed by the Tipsy tooltip, the tooltip doesn't disappear. That behaviour creates a bug, where the tooltip never disappears if the hovered element is removed from the DOM.