diff --git a/contrib/js/reply.js b/contrib/js/reply.js index b4d1cdc..ce02245 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -400,14 +400,13 @@ function init(prefix) { e.addEventListener("dragend", function(ev) { console.log(mouseDownX, mouseDownY); + var ox = rpl.getX(); + var oy = rpl.getY(); var dx = ox + ev.screenX - mouseDownX; var dy = oy + ev.screenY - mouseDownY; var rpl = getReplyTo(); console.log(ox, oy, dx, dy); rpl.translate(dx, dy); - ox = rpl.getX(); - oy = rpl.getY(); - console.log(ox, oy); }, false); // add replyto post handlers diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 82ca150..466cb39 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -84,7 +84,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