Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Dec 27, 2013

Conversation

jochenberger
Copy link
Contributor

Currently, when tooltip('destroy') is called on an element that does not have a tooltip, a Tooltip object is created only to be destroyed immediately afterward. I experience that behavior when creating the Tooltip on the body with a selector and destroying the potential targets in preparation of partial page update.
The same is true for the Popover component.

fat added a commit that referenced this pull request Dec 27, 2013
…estroy

don't create new Tooltip/Popover objects just to destroy them immediately
@fat fat merged commit 6baf266 into twbs:master Dec 27, 2013
@mdo mdo mentioned this pull request Dec 27, 2013
@jochenberger jochenberger deleted the dont-create-tooltip-for-destroy branch January 7, 2014 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants