From b42a2ae138de1141aaabb9f9da3ca7931afa94e3 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 16 Jan 2017 11:57:57 -0500 Subject: [PATCH] more --- contrib/js/nntpchan/reply.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/js/nntpchan/reply.js b/contrib/js/nntpchan/reply.js index d44bd20..32cca11 100644 --- a/contrib/js/nntpchan/reply.js +++ b/contrib/js/nntpchan/reply.js @@ -253,11 +253,11 @@ function init(prefix) { $(rpl.elem).on("mousemove", function(ev) { if ($dragging) { - var x = ev.pageX - $(this).width() / 2, - y = ev.pageY - $(this).height() / 2; + var x = ev.pageX, // - $(this).width() / 2, + y = ev.pageY; //- $(this).height() / 2; $dragging.offset({ - top: y - 50, - left: x - 50 + top: y, + left: x }); } });