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