Skip to content

Commit

Permalink
Update src/javascripts/jquery.tipsy.js
Browse files Browse the repository at this point in the history
Fixed redundant IE double tip from title on 'live' tipsy's
  • Loading branch information
dkimbell13 committed Aug 23, 2012
1 parent 1ee9c02 commit a06a3cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/javascripts/jquery.tipsy.js
Expand Up @@ -121,7 +121,8 @@
fixTitle: function() {
var $e = this.$element;
if ($e.attr('title') || typeof($e.attr('original-title')) != 'string') {
$(this).attr('original-title', $(this).attr('title') || '').removeAttr('title').attr("title", "");
var $title = $e.attr('title');
$e.removeAttr('title').attr('title','').attr('original-title', $title || '');
}
},

Expand Down

0 comments on commit a06a3cd

Please sign in to comment.