From e9db85c5b62e2f2696f3dbc403fa59fc69f5f5be Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Apr 2016 14:57:07 -0400 Subject: [PATCH] add semi-colins, this aint go --- contrib/js/backlink.js | 4 ++-- contrib/static/nntpchan.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/contrib/js/backlink.js b/contrib/js/backlink.js index bd9b108..3c1ce2b 100644 --- a/contrib/js/backlink.js +++ b/contrib/js/backlink.js @@ -277,8 +277,8 @@ function init(prefix) { }, false); e.addEventListener("dragend", function(ev) { - var x = originalX + ev.clientX - mouseDownX - var y = originalY + ev.clientY - mouseDownY + var x = originalX + ev.clientX - mouseDownX; + var y = originalY + ev.clientY - mouseDownY; rpl.moveTo(x, y); originalX = x; originalY = y; diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 136d368..32d296f 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -38,9 +38,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