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