drewwilson/TipTip — pull request #9 by ivaynberg (2011-11-29 23:49:50+00:00)
Title: Tooltips are sometimes left hanging

we have a usecase like this:

* we have the tooltip on a div
* the div has an anchor in it that opens a modal

what happens is:

* the user moves over the div which opens the tooltip
* the user clicks on the anchor inside the tooltip which opens the modal
* since no mouseout occurred the tooltip is left open and due to various css issues it has a hire zindex then the modal so it is floating over the modal with no way to close it

the attached commit closes the tooltip whenever a user clicks or doubleclicks anywhere.