Browse Source

quick-post-controls.js: clone input element or Tinyboard will consider everyone a bot when posting

pull/40/head
Michael Save 12 years ago
parent
commit
ccf17c3d6f
  1. 2
      js/quick-post-controls.js

2
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();

Loading…
Cancel
Save