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

Updated unit test for tooltips. Now using is() instead of hasClass() #3655

Merged
merged 3 commits into from
May 31, 2012

Conversation

jorgenfb
Copy link
Contributor

Using .hasClass() when checking for multiple classes requires the classes to appear in the same order and without any other classes in between ( it is simply exact string matching ). Using .is() instead works with selector syntax and will make sure the tests behave correctly.

jorgenfb added 3 commits May 14, 2012 14:03
…. This prevents delayed tooltips from appearing if the mouse leaves the elements before tooltip is showed and the hiding delay is 0.
… is triggered before show delay has expired AND the hide delay is set to 0
fat added a commit that referenced this pull request May 31, 2012
…2922589d30

Updated unit test for tooltips. Now using is() instead of hasClass()
@fat fat merged commit bcd5097 into twbs:2.0.4-wip May 31, 2012
@fat
Copy link
Member

fat commented May 31, 2012

thanks <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants