diff --git a/templates/main.js b/templates/main.js index cbc68d04..3c7b87c1 100644 --- a/templates/main.js +++ b/templates/main.js @@ -252,7 +252,7 @@ function generatePassword() { return pass; } -function dopost(form) { +function doPost(form) { if (form.elements['name']) { localStorage.name = form.elements['name'].value.replace(/( |^)## .+$/, ''); } diff --git a/templates/post_form.html b/templates/post_form.html index b70f2f54..5a6854cf 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -1,4 +1,4 @@ -
+ {{ antibot.html() }} {% if id %}{% endif %} {{ antibot.html() }} @@ -112,7 +112,7 @@ {% elseif config.new_thread_capt %} - {% if not id %} + {% if not id %} {% trans %}Verification{% endtrans %} @@ -165,7 +165,7 @@ {% if config.allow_upload_by_url %}
- : + :
{% endif %} @@ -210,7 +210,7 @@ {{ antibot.html() }} - + {% trans %}(For file deletion.){% endtrans %} {{ antibot.html() }} @@ -221,7 +221,7 @@ {{ antibot.html() }} - + {{ antibot.html() }} {% endif %}