|
@@ -93,6 +93,10 @@ async function replace(query = true) {
|
|
|
const totalCharacters = td.textContent.length;
|
|
|
const totalDuration = totalCharacters * timePerCharacter;
|
|
|
|
|
|
+ marqueeDiv.querySelectorAll("br")?.forEach?.(item => {
|
|
|
+ item.remove();
|
|
|
+ });
|
|
|
+
|
|
|
marqueeDiv.style.setProperty(
|
|
|
"--translate-second",
|
|
|
`${totalDuration * 0.05}s`
|