From eb9a8e5174c4902ce2853716a71beead9c6745a6 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 3 May 2016 14:43:42 -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 5472f02..baca134 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -389,7 +389,7 @@ function init(prefix) { e.setAttribute("draggable", "true"); - e.addEventListener("drag", function(ev) { + e.addEventListener("dragstart", function(ev) { if(ev.shiftKey) { rpl.translate(ev.offsetX, ev.offsetY); ev.stopPropagation(); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index ddb097c..cacd3dd 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