diff options
author | Vitaly Takmazov | 2024-05-24 14:29:55 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-05-24 14:29:55 +0300 |
commit | dfa030a3765c5b5e43e263234155d344f5c6186e (patch) | |
tree | 53da933dddb3fffb9b7674d43a28190ed3cc79f7 /src/main/assets | |
parent | 65d5b915104fc79a3e8425466b6e2b88c1f35828 (diff) |
Do not allow unverified users to comment messages
Diffstat (limited to 'src/main/assets')
-rw-r--r-- | src/main/assets/scripts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js index 3c83bba4..38406c2a 100644 --- a/src/main/assets/scripts.js +++ b/src/main/assets/scripts.js @@ -315,10 +315,10 @@ function showCommentForm(mid, rid) { .then(result => { if (result.newMessage) { window.location.hash = `#${result.newMessage.rid}` + window.location.reload() } else { alert(result.text) } - window.location.reload() }).catch(error => { alert(error.message) }) |