From 917b15156c07c24df11605c7f21a6a174aa534bf Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Apr 2016 14:53:32 -0400 Subject: [PATCH] ugh --- contrib/js/backlink.js | 3 --- contrib/static/nntpchan.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/contrib/js/backlink.js b/contrib/js/backlink.js index 8b978dc..bb6950c 100644 --- a/contrib/js/backlink.js +++ b/contrib/js/backlink.js @@ -275,8 +275,6 @@ function init(prefix) { e.addEventListener("dragstart", function(ev) { mouseDownX = ev.clientX; mouseDownY = ev.clientY; - ev.preventDefault(); - }, false); e.addEventListener("dragend", function(ev) { @@ -285,7 +283,6 @@ function init(prefix) { rpl.moveTo(x, y); originalX = x; originalY = y; - ev.preventDefault(); }, false); } diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 1e97e2c..bbddc2b 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -38,9 +38,9 @@ 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