Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Tooltip: Avoid errors on mouseover of tooltips with parents that have…
… no title attribute. Fixes #8955 - Tooltip: error when parent element has no title attribute using jQuery <1.7 This corrects a failing test with core 1.6, so no new test is required.
- Loading branch information
e4a786e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of .text() has broken the ability to include HTML markup within tooltips. Angle brackets are converted to their html equivalents so tooltips look like raw html. (Or is the subsequent call to html() supposed to convert back to HTML? I'm using jQuery 1.9.1.)
For now I'm simply using: return title;
Comments? Suggestions?