mirror of https://github.com/JustKato/FreePad.git
* Default to scroll at the bottom of content
This commit is contained in:
parent
b4c47ded35
commit
0a3b5d50f2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue