mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-23 07:40:46 +02: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`);
|
||||
|
||||
prev.scrollTop = prev.scrollHeight;
|
||||
|
||||
textarea.classList.add(`hidden`);
|
||||
} else {
|
||||
// Toggle edit mode
|
||||
|
||||
Reference in New Issue
Block a user