From e2d7846d45c646f3e577121b503823585ae83294 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 16 Jan 2017 11:58:20 -0500 Subject: [PATCH] more --- contrib/js/nntpchan/reply.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/js/nntpchan/reply.js b/contrib/js/nntpchan/reply.js index 32cca11..e7c3a79 100644 --- a/contrib/js/nntpchan/reply.js +++ b/contrib/js/nntpchan/reply.js @@ -253,8 +253,8 @@ 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, left: x