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