diff --git a/contrib/js/reply.js b/contrib/js/reply.js index e13b034..f8c1ba6 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -389,7 +389,7 @@ function init(prefix) { e.setAttribute("draggable", "true"); - e.addEventListener("dragstart", function(ev) { + e.addEventListener("drag", function(ev) { console.log(ev); mouseDownX = ev.screenX; mouseDownY = ev.screenY; diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 04e16a6..ac5a4f4 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