comparison src/index.html @ 9:14932af93327 default tip

minor fix
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Sep 2024 18:35:54 -0600
parents f35ce99118ad
children
comparison
equal deleted inserted replaced
8:f35ce99118ad 9:14932af93327
83 ] 83 ]
84 }; 84 };
85 85
86 function set(what) { 86 function set(what) {
87 let s = JSON.stringify( mails[what], null, '\t' ); 87 let s = JSON.stringify( mails[what], null, '\t' );
88 document.querySelector('textarea[name=mail]').textContent = s; 88 document.querySelector('textarea[name=mail]').value = s;
89 } 89 }
90 90
91 function init() { 91 function init() {
92 document.querySelector('textarea[name=server]').textContent = server; 92 document.querySelector('textarea[name=server]').value = server;
93 set('simple'); 93 set('simple');
94 } 94 }
95 </script> 95 </script>
96 <title>Mailer REST API</title> 96 <title>Mailer REST API</title>
97 </head> 97 </head>