From d8ea4c49adce475afb908b988a65e958c1da6d6b Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 4 Aug 2024 15:13:05 +0200 Subject: [PATCH] main.js: rename dopost to camelCase --- templates/main.js | 2 +- templates/post_form.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/main.js b/templates/main.js index 6e6f6b1a..88765739 100755 --- a/templates/main.js +++ b/templates/main.js @@ -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(/( |^)## .+$/, ''); } diff --git a/templates/post_form.html b/templates/post_form.html index 220902e6..6434b7e8 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -1,5 +1,5 @@