From ccf17c3d6f0bf8ef28308f31369bacda6ecc41a2 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 16 Mar 2012 20:22:26 +1100 Subject: [PATCH] quick-post-controls.js: clone input element or Tinyboard will consider everyone a bot when posting --- js/quick-post-controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/quick-post-controls.js b/js/quick-post-controls.js index f9e53be1..90a46cd9 100644 --- a/js/quick-post-controls.js +++ b/js/quick-post-controls.js @@ -39,7 +39,7 @@ $(document).ready(function(){ ''); post_form .attr('action', $('form:first').attr('action')) - .append($('input[name=board]:first')) + .append($('input[name=board]:first').clone()) .find('input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"])').keypress(function(e) { if(e.which == 13) { e.preventDefault();