My Morse Code translation app is working just fine, except that when I translate text to morse (Texto para Morse) for the first time, the styles glitch and go down for a second. There are some audio and blinking sync issues as well, but for now, I just wanna figure out what is causing that.
All my code in is this repository. The only files that matter are "script.js" (does the morse blinking), "layout.html" (a not so organized yet layout), and "texto_para_morse.html" the page that is rendered in the Texto para Morse mode.