Update transcript-tracer.js
Browse files- transcript-tracer.js +8 -6
transcript-tracer.js
CHANGED
@@ -493,12 +493,7 @@ function handleWordClick(e) {
|
|
493 |
// pause
|
494 |
if (ttActivePlayer != null) {
|
495 |
ttActivePlayer.pause()
|
496 |
-
}
|
497 |
-
|
498 |
-
// selection
|
499 |
-
var temp = window.getSelection();
|
500 |
-
console.log(temp);
|
501 |
-
|
502 |
}
|
503 |
|
504 |
// Handle when a word in the transcript with an event listener is clicked
|
@@ -535,5 +530,12 @@ function handleWordDBClick(e) {
|
|
535 |
}
|
536 |
}
|
537 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
|
539 |
loadTranscriptTracer({ blockSelector: null, phraseSelector: null, alignmentFuzziness: 0, timeOffset: 0, autoScroll: "word", clickable: true})
|
|
|
493 |
// pause
|
494 |
if (ttActivePlayer != null) {
|
495 |
ttActivePlayer.pause()
|
496 |
+
}
|
|
|
|
|
|
|
|
|
|
|
497 |
}
|
498 |
|
499 |
// Handle when a word in the transcript with an event listener is clicked
|
|
|
530 |
}
|
531 |
}
|
532 |
|
533 |
+
function handleSelection() {
|
534 |
+
|
535 |
+
// selection
|
536 |
+
var temp = window.getSelection();
|
537 |
+
console.log(temp);
|
538 |
+
|
539 |
+
}
|
540 |
|
541 |
loadTranscriptTracer({ blockSelector: null, phraseSelector: null, alignmentFuzziness: 0, timeOffset: 0, autoScroll: "word", clickable: true})
|