Permalink
Browse files

Use prependTo instead of appendTo to solve IE6 disappearing content i…

…ssue
  • Loading branch information...
1 parent fa497c1 commit f572a83479b9b136f728a71b6b0ce93df440a96d @javan javan committed Nov 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/javascripts/jquery.tipsy.js
View
2 src/javascripts/jquery.tipsy.js
@@ -20,7 +20,7 @@
$tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title);
$tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
- $tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
+ $tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).prependTo(document.body);
var pos = $.extend({}, this.$element.offset(), {
width: this.$element[0].offsetWidth,

0 comments on commit f572a83

Please sign in to comment.