diff --git a/contrib/js/backlink.js b/contrib/js/backlink.js index dfcf0cf..72463e8 100644 --- a/contrib/js/backlink.js +++ b/contrib/js/backlink.js @@ -332,6 +332,7 @@ function init(prefix) { e.addEventListener("dragstart", function(ev) { mouseDownX = ev.clientX; mouseDownY = ev.clientY; + ev.preventDefault(); }, false); e.addEventListener("dragend", function(ev) { @@ -342,6 +343,7 @@ function init(prefix) { rpl.moveTo(x, y); originalX = x; originalY = y; + ev.preventDefault(); }, false); // add replyto post handlers diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 1d8a4e0..b72f22a 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -43,7 +43,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