From b2d0bfea8cd319a5aed19e8a2ddbda8b3b7bf806 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 3 May 2016 13:57:01 -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 9a92d69..97c36a6 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -382,9 +382,9 @@ function init(prefix) { }, false); e.addEventListener("dragend", function(ev) { - console.log(ev); var dx = ev.clientX - mouseDownX; var dy = ev.clientY - mouseDownY; + console(dx, dy); rpl.translate(dx, dy); }, false); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 2fe74b4..fa1b1b8 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -82,7 +82,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