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

v3.3.0 & v3.3.1: Tooltips and popovers with selector throw an error when being destroyed #15521

Closed
DanielApt opened this issue Jan 8, 2015 · 5 comments
Labels
Milestone

Comments

@DanielApt
Copy link

I've created some tooltips using the selector property:

$('body').tooltip({
    selector: '[data-toggle=tooltip]';
});

Afterwards I destroy them using:
$('body').tooltip('destroy');

This throws an error:
Uncaught TypeError: undefined is not a function

The same applies for popovers.

For an example see http://jsfiddle.net/DanielApt/rvqd7cyv/

@DanielApt DanielApt changed the title Tooltips and popovers with selector throw an error when being destroyed v3.3.0 & v3.3.1: Tooltips and popovers with selector throw an error when being destroyed Jan 8, 2015
@cvrebert cvrebert added the js label Jan 8, 2015
@cvrebert
Copy link
Collaborator

cvrebert commented Jan 8, 2015

Probably fixed by #15466. Could you re-test using the latest code in master?

@DanielApt
Copy link
Author

Yup, just re-tested. There are no issues anymore. When could we expect to see this in a release?

@DanielApt DanielApt reopened this Jan 8, 2015
@cvrebert cvrebert closed this as completed Jan 8, 2015
@cvrebert
Copy link
Collaborator

cvrebert commented Jan 8, 2015

I'm hoping "soon", but there's currently no definite timeline.

@DanielApt
Copy link
Author

No worries. Not sure about github / open source protocol… Does this issue stay open until a release, or can we close it already?

@DanielApt
Copy link
Author

Oh nvm, I see you've closed it.

@cvrebert cvrebert added this to the v3.3.2 milestone Jan 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants