summaryrefslogtreecommitdiff
path: root/js/post-hover.js
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-17 08:12:47 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-17 08:12:47 +1100
commitbf7fd32c21762803bf22d2e55a0e07334b2b9139 (patch)
treeb72571d9fb4802ab3ce0239e4473004e2f8080ab /js/post-hover.js
parenta2ac54e01ee8a9176ba5054d453fc5f2a3662908 (diff)
start_hover() causing weird positing issues when using AJAX method
Diffstat (limited to 'js/post-hover.js')
-rw-r--r--js/post-hover.js5
1 files changed, 1 insertions, 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;
}