mirror of
https://github.com/JustKato/FreePad.git
synced 2026-04-05 19:38:47 +03:00
* Default to scroll at the bottom of content
This commit is contained in:
@@ -213,6 +213,8 @@ function setTextareaPreview(t = true) {
|
|||||||
|
|
||||||
padContentArea.classList.add(`read-only-content`);
|
padContentArea.classList.add(`read-only-content`);
|
||||||
|
|
||||||
|
prev.scrollTop = prev.scrollHeight;
|
||||||
|
|
||||||
textarea.classList.add(`hidden`);
|
textarea.classList.add(`hidden`);
|
||||||
} else {
|
} else {
|
||||||
// Toggle edit mode
|
// Toggle edit mode
|
||||||
|
|||||||
Reference in New Issue
Block a user