Update transcript-tracer.js
Browse files- transcript-tracer.js +6 -2
transcript-tracer.js
CHANGED
@@ -491,7 +491,9 @@ function handleWordClick(e) {
|
|
491 |
}
|
492 |
|
493 |
// pause
|
494 |
-
ttActivePlayer
|
|
|
|
|
495 |
|
496 |
}
|
497 |
|
@@ -524,7 +526,9 @@ function handleWordDBClick(e) {
|
|
524 |
}
|
525 |
|
526 |
// pause
|
527 |
-
ttActivePlayer
|
|
|
|
|
528 |
}
|
529 |
|
530 |
|
|
|
491 |
}
|
492 |
|
493 |
// pause
|
494 |
+
if (ttActivePlayer != null) {
|
495 |
+
ttActivePlayer.pause()
|
496 |
+
}
|
497 |
|
498 |
}
|
499 |
|
|
|
526 |
}
|
527 |
|
528 |
// pause
|
529 |
+
if (ttActivePlayer != null) {
|
530 |
+
ttActivePlayer.play()
|
531 |
+
}
|
532 |
}
|
533 |
|
534 |
|