From 7136b176ee0fa481b7bd74863cef335bc693f003 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 3 May 2016 14:22:10 -0400 Subject: [PATCH] try fix --- contrib/js/reply.js | 7 +++++-- contrib/static/nntpchan.js | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/contrib/js/reply.js b/contrib/js/reply.js index c78dc28..be7e891 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -40,7 +40,8 @@ function DynReply(existingElem) { this.form = this.elem.querySelector("form"); this._error = document.getElementById("postform_msg"); this.url = this.form.action + "?t=json"; - this.moveTo(1,1); + this.x = 1; + this.y = 1; return; } @@ -137,7 +138,9 @@ function DynReply(existingElem) { this.roothash = null; this.prefix = null; this.url = null; - this.moveTo(1,1); + this.x = 1; + this.y = 1; + } DynReply.prototype.getX = function () { diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 1cd5e61..5ea2d95 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -49,10 +49,10 @@ var dynreply;function getReplyTo(){if(!dynreply){var e=document.getElementById(" return dynreply;} function table_insert_row(table,header,items){var tr=document.createElement("tr");var th=document.createElement("th");th.appendChild(header);tr.appendChild(th);for(var idx=0;idx