start_hover() causing weird positing issues when using AJAX method
This commit is contained in:
parent
a2ac54e01e
commit
bf7fd32c21
@ -42,8 +42,6 @@ $(document).ready(function(){
|
|||||||
.css('border-style', 'solid')
|
.css('border-style', 'solid')
|
||||||
.css('box-shadow', '1px 1px 1px #999')
|
.css('box-shadow', '1px 1px 1px #999')
|
||||||
.css('display', 'block')
|
.css('display', 'block')
|
||||||
.css('left', e.pageX)
|
|
||||||
.css('top', top > $(window).scrollTop() ? top : $(window).scrollTop())
|
|
||||||
.insertAfter($(link).parent());
|
.insertAfter($(link).parent());
|
||||||
$(link).trigger('mousemove');
|
$(link).trigger('mousemove');
|
||||||
}
|
}
|
||||||
@ -52,10 +50,9 @@ $(document).ready(function(){
|
|||||||
post = $('div.post#reply_' + id);
|
post = $('div.post#reply_' + id);
|
||||||
console.log(post);
|
console.log(post);
|
||||||
if(post.length > 0) {
|
if(post.length > 0) {
|
||||||
start_hover(this);
|
start_hover(this, e);
|
||||||
} else {
|
} else {
|
||||||
var link = this;
|
var link = this;
|
||||||
|
|
||||||
if($.inArray($(this).attr('href'), dont_fetch_again) != -1) {
|
if($.inArray($(this).attr('href'), dont_fetch_again) != -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user