From d6518c1f88d4c30f3e11867c94defbbe4610071b Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Sat, 9 Apr 2022 18:30:54 +0200 Subject: [PATCH] fix for 81 srt conversion fail --- wp-hyperaudio/js/converter.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wp-hyperaudio/js/converter.js b/wp-hyperaudio/js/converter.js index f7aabed..d5e982b 100644 --- a/wp-hyperaudio/js/converter.js +++ b/wp-hyperaudio/js/converter.js @@ -87,8 +87,6 @@ $(document).ready(function() { function parseSRT(data) { - document.dispatchEvent(event); - var i = 0, len = 0, idx = 0, @@ -212,12 +210,8 @@ $(document).ready(function() { var stime; if (wordLengthSplit) { stime = Math.round((sub.start + si * stimeStep) * 1000); - - document.dispatchEvent(event); } else { stime = Math.round((wordStart + sub.start) * 1000); - - document.dispatchEvent(event); } wordStart = wordStart + wordTime;