diff src/chat.html.luan @ 62:bd3f16f7b8b7

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Aug 2025 07:40:27 +0900
parents 27758f3b2d69
children 44bec62c49e2
line wrap: on
line diff
--- a/src/chat.html.luan	Mon Aug 18 10:36:50 2025 +0900
+++ b/src/chat.html.luan	Tue Aug 19 07:40:27 2025 +0900
@@ -140,8 +140,10 @@
 				if( !initialized.value ) {
 					initialized.value = 'yes';
 					//alert('init');
+<%	if is_owner then %>
 					document.querySelector('textarea').focus();
 					scrollToEnd();
+<%	end %>
 				}
 			},100);
 		</script>