Browse Source

nitpick

tags/v0.1.0
Gerben 4 years ago
parent
commit
f74fe9f0a9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/audio-player/contentscript.js

+ 1
- 1
app/audio-player/contentscript.js View File

@@ -69,7 +69,7 @@ async function init() {
} }


// Bind window hash change to update player // Bind window hash change to update player
window.addEventListener('hashchange', async function() {
window.addEventListener('hashchange', async () => {
if(playlist.isPlaying()) { if(playlist.isPlaying()) {
eventEmitter.emit('stop') eventEmitter.emit('stop')
// pause needs a small delay, coz the lib doesn't // pause needs a small delay, coz the lib doesn't


Loading…
Cancel
Save