Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Update: line 1627
Browse files Browse the repository at this point in the history
Change: $(this).removeAttr('title').attr(oldtitle, title).attr('title','');
Dynamic/Ajax loaded tooltips in IE show the default browser title attribute and tooltip on initial mouseover. Adding .attr('title','') fixes the issue.
  • Loading branch information
movemaine committed May 17, 2012
1 parent 2f172c4 commit bdb31d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/jquery.qtip.js
Expand Up @@ -1622,8 +1622,9 @@ function init(id, opts)
}

// Remove title attribute and store it if present
// Added empty title, IE displays default browser title on dynamic tooltips
if(config.suppress && (title = $.attr(this, 'title'))) {
$(this).removeAttr('title').attr(oldtitle, title);
$(this).removeAttr('title').attr(oldtitle, title).attr('title','');
}

// Initialize the tooltip and add API reference
Expand Down

0 comments on commit bdb31d3

Please sign in to comment.