Skip to content

Commit 7f94017

Browse files
committed
feat(JS): commennt out some functionalities on 2 eventListeners
1 parent b368711 commit 7f94017

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

public/index.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -307,17 +307,16 @@ recipeButtons.forEach((button) => {
307307

308308
console.log(speedBtn);
309309

310-
speedBtn.addEventListener("input", () => {
311-
stopREeading();
312-
readRecipe(utterance.text.substring(currentChar));
310+
// speedBtn.addEventListener("input", () => {
311+
// stopREeading();
312+
// readRecipe(utterance.text.substring(currentChar));
313313

314-
console.log("speed has been incremented")
315-
})
316-
317-
utterance.addEventListener("boundary", (e) => {
318-
currentChar = e.charIndex;
314+
// console.log("speed has been incremented")
315+
// })
319316

320-
})
317+
// utterance.addEventListener("boundary", (e) => {
318+
// currentChar = e.charIndex;
319+
// })
321320

322321
stopBtn.addEventListener("click", stopREeading);
323322

0 commit comments

Comments
 (0)