Update transcript-tracer.js
Browse files- transcript-tracer.js +1 -1
transcript-tracer.js
CHANGED
@@ -491,7 +491,7 @@ function ttTimeUpdate(e) {
|
|
491 |
var end_bottom = nodes[nodes.length - 1].getBoundingClientRect().bottom;
|
492 |
|
493 |
if (current_bottom == end_bottom) {
|
494 |
-
var objDiv = document.
|
495 |
objDiv.scrollTop = objDiv.scrollHeight;
|
496 |
|
497 |
}
|
|
|
491 |
var end_bottom = nodes[nodes.length - 1].getBoundingClientRect().bottom;
|
492 |
|
493 |
if (current_bottom == end_bottom) {
|
494 |
+
var objDiv = document.querySelector(`[data-tt-transcript="0"]`);
|
495 |
objDiv.scrollTop = objDiv.scrollHeight;
|
496 |
|
497 |
}
|