From 58d32b5d1de02774eb482969b5a4a84cd5250eb4 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 1 May 2016 18:04:43 -0400 Subject: [PATCH] don't double post --- contrib/js/backlink.js | 1 - contrib/static/nntpchan.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/js/backlink.js b/contrib/js/backlink.js index 0690eda..e72c7df 100644 --- a/contrib/js/backlink.js +++ b/contrib/js/backlink.js @@ -396,7 +396,6 @@ function init(prefix) { r.clearSolution(); }); } - e.onclick = postit; var f = document.querySelector("form"); f.onsubmit = function() { postit(); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 992e110..1bba52f 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -48,7 +48,7 @@ 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