Closed
Description
Here's a simple fiddle with the example http://jsfiddle.net/rQPKR/
Basically if I have a tooltip element, that onclick removes itself, the tooltip itself will stay displayed.
I know there is a closed issue #2298, but I think there are scenarios where the suggested solution doesn't apply.
For example when I am handling the click event on higher level of abstraction, where I don't have access to the element itself and I can't do anything like $(this).tooltip('hide')
. The only solution to this would be globally hiding all tooltips like $('a').tooltip('hide')
, which I'm not sure is a clean solution.