From c5c6db70e4333c8de57ba55772689117aa646743 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 5 Nov 2022 04:08:27 +0200 Subject: [PATCH] rename "submitFormAjax()" to "sendMessage()" --- files/assets/js/userpage_v.js | 2 +- files/templates/userpage.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/assets/js/userpage_v.js b/files/assets/js/userpage_v.js index 7250fcfa1..0a413da76 100644 --- a/files/assets/js/userpage_v.js +++ b/files/assets/js/userpage_v.js @@ -75,7 +75,7 @@ function transferBux(t, mobile=false) { setTimeout(_ => this.disabled = false, 2000); } -function submitFormAjax(e) { +function sendMessage(e) { document.getElementById('message').classList.add('d-none'); document.getElementById('message-mobile').classList.add('d-none'); document.getElementById('message-preview').classList.add('d-none'); diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 757b5d074..6b141b553 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -180,7 +180,7 @@ -
+ @@ -433,7 +433,7 @@ {% if v and v.id != u.id %} - +