mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 04:11:47 +00:00
Use triple equals in more places
This commit is contained in:
@ -40,11 +40,11 @@ function registerMPRIS(win) {
|
|||||||
if (manuallySwitchingStatus)
|
if (manuallySwitchingStatus)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (mode == "Repeat off")
|
if (mode === "Repeat off")
|
||||||
currentLoopStatus = "None";
|
currentLoopStatus = "None";
|
||||||
else if (mode == "Repeat one")
|
else if (mode === "Repeat one")
|
||||||
currentLoopStatus = "Track";
|
currentLoopStatus = "Track";
|
||||||
else if (mode == "Repeat all")
|
else if (mode === "Repeat all")
|
||||||
currentLoopStatus = "Playlist";
|
currentLoopStatus = "Playlist";
|
||||||
|
|
||||||
player.loopStatus = currentLoopStatus;
|
player.loopStatus = currentLoopStatus;
|
||||||
|
|||||||
Reference in New Issue
Block a user