From fdd9bab210f7adc4733c09fbb50ebe59812de55e Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 3 May 2016 13:47:28 -0400 Subject: [PATCH] try fix --- contrib/js/reply.js | 5 +++-- contrib/static/nntpchan.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/js/reply.js b/contrib/js/reply.js index a1d5be4..98ecced 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -373,10 +373,11 @@ function init(prefix) { }, false); e.addEventListener("dragend", function(ev) { + console.log(ev); var x = ev.clientX - ( mouseDownX ); var y = ev.clientY - ( mouseDownY ); - x = ev.movementX + mouseDownX; - x = ev.movementY + mouseDownY; + //x = ev.movementX + mouseDownX; + //x = ev.movementY + mouseDownY; //x -= window.screenLeft; //y -= window.screenTop; rpl.moveTo(x, y); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 430e00a..6588b7a 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -81,7 +81,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