Change post hover behaviour to show actual post, rather than last post in thread.
This commit is contained in:
parent
21e7520caa
commit
7e0cf814fa
@ -158,6 +158,11 @@ onready(function(){
|
||||
top = scrollTop + $(window).height() - $hover.height() - 15;
|
||||
}
|
||||
|
||||
var hovery = e.pageY ? e.pageY : hovered_at['y'];
|
||||
if ( ( hovery - top) > 20){
|
||||
top = hovery;
|
||||
}
|
||||
|
||||
|
||||
$hover.css('left', (e.pageX ? e.pageX : hovered_at['x']) + 1).css('top', top);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user