diff --git a/app/audio-player/contentscript.js b/app/audio-player/contentscript.js index dff3545..3bfae09 100644 --- a/app/audio-player/contentscript.js +++ b/app/audio-player/contentscript.js @@ -69,7 +69,7 @@ async function init() { } // Bind window hash change to update player - window.addEventListener('hashchange', async function() { + window.addEventListener('hashchange', async () => { if(playlist.isPlaying()) { eventEmitter.emit('stop') // pause needs a small delay, coz the lib doesn't