main.js: rename dopost to camelCase

This commit is contained in:
Zankaria 2024-08-04 15:13:05 +02:00
parent b77685f8f4
commit d8ea4c49ad
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ function generatePassword() {
return pass;
}
function dopost(form) {
function doPost(form) {
if (form.elements['name']) {
localStorage.name = form.elements['name'].value.replace(/( |^)## .+$/, '');
}

View file

@ -1,5 +1,5 @@
<form
name="post" onsubmit="return dopost(this);"
name="post" onsubmit="return doPost(this);"
enctype="multipart/form-data"
action="{{ config.post_url }}"
method="post"