changeset 9:14932af93327 default tip

minor fix
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Sep 2024 18:35:54 -0600
parents f35ce99118ad
children
files src/index.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/index.html	Sun Sep 15 10:48:05 2024 -0600
+++ b/src/index.html	Mon Sep 23 18:35:54 2024 -0600
@@ -85,11 +85,11 @@
 
 			function set(what) {
 				let s = JSON.stringify( mails[what], null, '\t' );
-				document.querySelector('textarea[name=mail]').textContent = s;
+				document.querySelector('textarea[name=mail]').value = s;
 			}
 
 			function init() {
-				document.querySelector('textarea[name=server]').textContent = server;
+				document.querySelector('textarea[name=server]').value = server;
 				set('simple');
 			}
 		</script>