From bdb31d3f67e41c1eb460ed9b03ad6cdaa40757d7 Mon Sep 17 00:00:00 2001 From: movemaine Date: Thu, 17 May 2012 11:18:34 -0300 Subject: [PATCH] Update: line 1627 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. --- dist/jquery.qtip.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js index cd415e88..9fe15077 100644 --- a/dist/jquery.qtip.js +++ b/dist/jquery.qtip.js @@ -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