We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7e8738 commit 2499f57Copy full SHA for 2499f57
plugins/shortcuts/mpris.js
@@ -40,11 +40,11 @@ function registerMPRIS(win) {
40
if (manuallySwitchingStatus)
41
return;
42
43
- if (mode == "Repeat off")
+ if (mode === "Repeat off")
44
currentLoopStatus = "None";
45
- else if (mode == "Repeat one")
+ else if (mode === "Repeat one")
46
currentLoopStatus = "Track";
47
- else if (mode == "Repeat all")
+ else if (mode === "Repeat all")
48
currentLoopStatus = "Playlist";
49
50
player.loopStatus = currentLoopStatus;
0 commit comments