Spaces:
Running
Running
rushidarge
commited on
Commit
•
f6fb820
1
Parent(s):
1598a81
Update script.js
Browse files
script.js
CHANGED
@@ -44,7 +44,7 @@ stopBtn.addEventListener("click", () => {
|
|
44 |
startBtn.disabled = false; // Enable start button
|
45 |
stopBtn.disabled = true; // Disable stop button
|
46 |
console.log(transcript.value);
|
47 |
-
var formattedText =
|
48 |
console.log(formattedText);
|
49 |
transcript.value = formattedText;
|
50 |
});
|
|
|
44 |
startBtn.disabled = false; // Enable start button
|
45 |
stopBtn.disabled = true; // Disable stop button
|
46 |
console.log(transcript.value);
|
47 |
+
var formattedText = formatText(transcript.value);
|
48 |
console.log(formattedText);
|
49 |
transcript.value = formattedText;
|
50 |
});
|