Skip to content

Commit

Permalink
🐛 Fix the numberPlaylists condition
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienCozeDev committed Nov 9, 2023
1 parent 1fb0d94 commit 7afe706
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function refreshPlaylistsSearch() {
}

let playlist_list = document.getElementById("playlists_list");
if (playlist_list.dataset.numberPlaylists >= 2) {
if (parseInt(playlist_list.dataset.numberPlaylists) >= 2) {
// Add trigger event to manage sort direction.
document
.getElementById('sort_direction_label')
Expand Down

0 comments on commit 7afe706

Please sign in to comment.