* Default to scroll at the bottom of content

This commit is contained in:
Daniel Legt 2022-06-07 00:39:05 +03:00
parent b4c47ded35
commit 0a3b5d50f2
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ function setTextareaPreview(t = true) {
padContentArea.classList.add(`read-only-content`);
prev.scrollTop = prev.scrollHeight;
textarea.classList.add(`hidden`);
} else {
// Toggle edit mode