From 23c4f455d568fde5cc88414339ae23813a5c8743 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 3 May 2016 14:34:40 -0400 Subject: [PATCH] try fix --- 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 ce02245..b2ebb37 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -399,12 +399,12 @@ function init(prefix) { }, false); e.addEventListener("dragend", function(ev) { + var rpl = getReplyTo(); 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); }, false); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 466cb39..d1f937d 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