diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-16 20:22:26 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-16 20:22:26 +1100 |
| commit | ccf17c3d6f0bf8ef28308f31369bacda6ecc41a2 (patch) | |
| tree | 5c5b035462ad8808340904f2c395ad898f17a6f0 | |
| parent | 34fc25f71629a52f76c4c48bc543eb65835ca40b (diff) | |
quick-post-controls.js: clone input element or Tinyboard will consider everyone a bot when posting
| -rw-r--r-- | js/quick-post-controls.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(){ '</form>'); 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(); |
