diff --git a/contrib/js/nntpchan/reply.js b/contrib/js/nntpchan/reply.js index eb27777..0777d96 100644 --- a/contrib/js/nntpchan/reply.js +++ b/contrib/js/nntpchan/reply.js @@ -255,8 +255,7 @@ function init(prefix) { if ($dragging) { var x = ev.pageX - $(this).width() / 2, y = ev.pageY - $(this).height() / 2; - y -= $(e).height(); - x -= $(e).width(); + $(e).offset({ top: y, left: x