forked from MarseyWorld/MarseyWorld
fix posting
parent
c0077d0290
commit
49ad83e95c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue