summaryrefslogtreecommitdiff
path: root/js/quick-post-controls.js
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-16 20:22:26 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-16 20:22:26 +1100
commitccf17c3d6f0bf8ef28308f31369bacda6ecc41a2 (patch)
tree5c5b035462ad8808340904f2c395ad898f17a6f0 /js/quick-post-controls.js
parent34fc25f71629a52f76c4c48bc543eb65835ca40b (diff)
quick-post-controls.js: clone input element or Tinyboard will consider everyone a bot when posting
Diffstat (limited to 'js/quick-post-controls.js')
-rw-r--r--js/quick-post-controls.js2
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();