From f227786e33b3cf875c408862275bd0134b1857e2 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 3 May 2016 15:07:20 -0400 Subject: [PATCH] try fixing drag to move behavior --- contrib/js/reply.js | 2 +- contrib/static/nntpchan.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/js/reply.js b/contrib/js/reply.js index 93eac2a..2c9e75c 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -391,7 +391,7 @@ function init(prefix) { y = ev.pageY - $(this).height() / 2; $dragging.offset({ top: y, - left: x + right: document.body.clientLeft - x }); } }); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 44481f3..9cf4f64 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -691,7 +691,7 @@ parent.appendChild(wrapper);parent.backlink=false;},function(msg){var wrapper=do parent.backlink=true;}};parent.backlink=true;} function inject_hover_for_element(elem){var elems=elem.getElementsByClassName("backlink");var ls=[];var l=elems.length;for(var idx=0;idx