diff --git a/contrib/js/backlink.js b/contrib/js/backlink.js index 774b480..ccd59b2 100644 --- a/contrib/js/backlink.js +++ b/contrib/js/backlink.js @@ -39,6 +39,8 @@ function DynReply(existingElem) { this.elem = existingElem; this.form = this.elem.querySelector("form"); this._error = document.getElementById("postform_msg"); + var e = document.getElementById("postform_submit"); + e.setAttribute("type", "button"); return; } @@ -76,7 +78,6 @@ function DynReply(existingElem) { elem = document.createElement("input"); elem.setAttribute("name", "subject"); elem.setAttribute("value", ""); - // submit var submit = document.createElement("input"); submit.setAttribute("value", "reply"); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 59cc65b..d18d28f 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -15,7 +15,7 @@ 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