Skip to content

Commit

Permalink
Update player.js
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Sep 25, 2024
1 parent 21310bc commit aa0646e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function playSoura(data) {

// Increment currentIndex and play the next soura
currentIndex++;
if (currentIndex < 3) { // Change 3 to the desired number of souras to play
if (currentIndex < 3) {
playCurrentSoura();
} else {
souraTitle.textContent = 'لقد استمعت الثالث سور اليوم';
Expand Down

0 comments on commit aa0646e

Please sign in to comment.