20 lines
487 B
Plaintext
20 lines
487 B
Plaintext
{% styles default %}
|
|
{% styles colors %}
|
|
{% styles custom %}
|
|
|
|
<script>
|
|
|
|
function changeTranscriptText(){
|
|
const path = window.location.pathname;
|
|
if (path.includes("/transcript")) {
|
|
const heading = document.querySelector('.Transcript_Caption');
|
|
if (heading) {
|
|
heading.textContent = "Transcript";
|
|
}
|
|
}
|
|
}
|
|
|
|
addEventListener("DOMContentLoaded", (event) => {
|
|
changeTranscriptText()
|
|
})
|
|
</script> |