mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
Use triple equals
This commit is contained in:
@ -83,7 +83,7 @@ function registerMPRIS(win) {
|
||||
}
|
||||
});
|
||||
player.on("playpause", () => {
|
||||
player.playbackStatus = player.playbackStatus == 'Playing' ? "Paused" : "Playing";
|
||||
player.playbackStatus = player.playbackStatus === 'Playing' ? "Paused" : "Playing";
|
||||
playPause();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user