fix posting

master
Aevann 2024-10-19 11:44:02 +03:00
parent c0077d0290
commit 49ad83e95c
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ for (const key of save_checked) {
}
}
if (document.getElementById('post-distinguished').checked) {
if (document.getElementById('post-distinguished') && document.getElementById('post-distinguished').checked) {
postText.minLength = 0;
postText.maxLength = document.getElementById('POST_BODY_LENGTH_LIMIT').value
}