Skip to content

Commit e7e8738

Browse files
committed
Use triple equals
1 parent 9932fd7 commit e7e8738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/shortcuts/mpris.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function registerMPRIS(win) {
8383
}
8484
});
8585
player.on("playpause", () => {
86-
player.playbackStatus = player.playbackStatus == 'Playing' ? "Paused" : "Playing";
86+
player.playbackStatus = player.playbackStatus === 'Playing' ? "Paused" : "Playing";
8787
playPause();
8888
});
8989

0 commit comments

Comments
 (0)