Skip to content

Commit

Permalink
fix(spotify): change play/pause button class
Browse files Browse the repository at this point in the history
closes #102
  • Loading branch information
GabeDuarteM committed Jan 2, 2020
1 parent f7047d7 commit 0a0ed1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const players: Player[] = [
{
controlQueries: {
next: '.spoticon-skip-forward-16',
play: '.player-controls__buttons button:nth-child(3)',
play:
'[aria-label="Player controls"] button[title="Pause"],[aria-label="Player controls"] button[title="Play"]',
prev: '.spoticon-skip-back-16',
},
default: true,
Expand Down

0 comments on commit 0a0ed1d

Please sign in to comment.