[tooltip] multiple applications of the init routine break the tip
|Reported by:||ccarey||Owned by:|
The first one works $(element).tooltip(); the second one breaks because the title was blanked $(element).tooltip();
Occasionally when rendering dynamic content it is useful (or necessary) to apply the tooltip() to newly created elements with the same selection criteria.
The fix is simple enough - just check for the presence of this.tooltipTitle on the element before overwrite (see attached revision.