From 79ae266424dad8b8bba95b297b61c741ed066e20 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Apr 2016 14:57:57 -0400 Subject: [PATCH] different initial position --- contrib/js/backlink.js | 2 +- contrib/static/nntpchan.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/js/backlink.js b/contrib/js/backlink.js index 3c1ce2b..924f69f 100644 --- a/contrib/js/backlink.js +++ b/contrib/js/backlink.js @@ -267,7 +267,7 @@ function init(prefix) { e.setAttribute("draggable", "true"); var mouseDownX, mouseDownY; - var originalX = window.width - 300; + var originalX = 300; var originalY = 10; rpl.moveTo(originalX, originalY); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 32d296f..f04e1d6 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -38,7 +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