Replace Ø -> 0 in input text too

This commit is contained in:
Andreas Kristiansen
2025-10-24 16:20:51 +02:00
parent 9e76830455
commit 63d3bbee71

View File

@@ -288,7 +288,7 @@ async function disconnect() {
//When the send button is pressed //When the send button is pressed
function clickSend() { function clickSend() {
writeToStream(sendText.value).then(function() { writeToStream(sendText.value.replaceAll('Ø', '0')).then(function() {
// writeToStream("\r"); // writeToStream("\r");
//and clear the input field, so it's clear it has been sent //and clear the input field, so it's clear it has been sent
$('#sendText').val(''); $('#sendText').val('');