From bf7fd32c21762803bf22d2e55a0e07334b2b9139 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sat, 17 Mar 2012 08:12:47 +1100 Subject: [PATCH] start_hover() causing weird positing issues when using AJAX method --- js/post-hover.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/post-hover.js b/js/post-hover.js index 808570c5..f9e032aa 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -42,8 +42,6 @@ $(document).ready(function(){ .css('border-style', 'solid') .css('box-shadow', '1px 1px 1px #999') .css('display', 'block') - .css('left', e.pageX) - .css('top', top > $(window).scrollTop() ? top : $(window).scrollTop()) .insertAfter($(link).parent()); $(link).trigger('mousemove'); } @@ -52,10 +50,9 @@ $(document).ready(function(){ post = $('div.post#reply_' + id); console.log(post); if(post.length > 0) { - start_hover(this); + start_hover(this, e); } else { var link = this; - if($.inArray($(this).attr('href'), dont_fetch_again) != -1) { return; }