Skip to content

Commit

Permalink
Ignore la question c'est une video solo
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Oct 30, 2024
1 parent 680ce0c commit 72d33d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pl_load.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ function sendToServer(playlist_txt, listID, nb) {

function shuffleAsk() {
// #ranQ?

//Ignore la question c'est une video solo
if (playlist.length === 1){
return 1;
}

var reponse = confirm("Lecture de la playlist en mode aléatoire ?\nOK = Oui | Annuler = Non");

if (reponse) {
Expand Down

0 comments on commit 72d33d3

Please # to comment.