diff src/edit.js.luan @ 42:0c1b820fff34

use push
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Nov 2022 14:02:28 -0700
parents 4fdc4ec0050b
children 289718f121e4
line wrap: on
line diff
--- a/src/edit.js.luan	Sun Nov 06 17:39:21 2022 -0700
+++ b/src/edit.js.luan	Tue Nov 08 14:02:28 2022 -0700
@@ -19,6 +19,7 @@
 	postDiv.querySelector('[edit]').innerHTML = document.querySelector('[hidden][edit]').innerHTML;
 	let textarea = postDiv.querySelector('textarea');
 	textarea.innerHTML = <%= json_string(html_encode(post.content)) %>;
+	fixTextarea(textarea);
 	textarea.focus();
 <%
 end