Skip to content

Commit

Permalink
Revert quran.js change
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Nov 28, 2021
1 parent 041b8f1 commit 0312541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions html/public/js/jquery.quran.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jQuery( document ).ready( function( $ ) {
player.load();
player.oncanplaythrough = player.play();
// Sleep because the bismillah is 6 seconds
/*sleep(6000).then(() => {
sleep(6000).then(() => {
// Now set surah to play normally
player.pause();
if (player.paused) {
$("#playThisAyah" + ayah).trigger('click');
}
});*/
});
}
} else {
player.pause();
Expand Down
2 changes: 1 addition & 1 deletion views/quran.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<?php } else { ?>
<script src="/public/js/jquery.mediaplayer.js?v=27"></script>
<?php } ?>
<script src="/public/js/jquery.quran.js?v=5"></script>
<script src="/public/js/jquery.quran.js?v=6"></script>
<script>
var surahChangers = <?php echo json_encode($surahChangers); ?>;
$(function() {
Expand Down

0 comments on commit 0312541

Please sign in to comment.