Commit 25e5c6d7 authored by Azy Mushofy Anwary's avatar Azy Mushofy Anwary

Cobaba

parent 700de14c
...@@ -12,7 +12,7 @@ const STATUS_MISSED = 60; ...@@ -12,7 +12,7 @@ const STATUS_MISSED = 60;
/* JS comes here */ /* JS comes here */
function textToAudio() { function textToAudio() {
let no_antrian = document.getElementById("no_antrian").innerHTML; let no_antrian = document.getElementById("no_antrian").innerHTML;
// let msg1 = "nomor antrian";
let voice = "nomor antrian " + no_antrian; let voice = "nomor antrian " + no_antrian;
console.log(voice) console.log(voice)
...@@ -348,14 +348,16 @@ function actionqueue(antrianno, status) { ...@@ -348,14 +348,16 @@ function actionqueue(antrianno, status) {
var flush = new Audio('../../data/tone/a1.mp3'); var flush = new Audio('../../data/tone/a1.mp3');
setTimeout(function() { setTimeout(function () {
flush.play(); }, ) flush.play();
})
flush.onended = function() { flush.onended = function () {
textToAudio() textToAudio()
setTimeout(function() { setTimeout(function () {
textToAudioRuang() }, 3000) textToAudioRuang()
}, 3000)
}; };
swal({ swal({
......
...@@ -396,8 +396,7 @@ function loadedit(param) { ...@@ -396,8 +396,7 @@ function loadedit(param) {
success: function (result) { success: function (result) {
// console.log(result); // console.log(result);
// $('.loaddata').empty(); // $('.loaddata').empty();
// console.log(result);
// $('.loaddata').empty();
if (result.code == 0) { if (result.code == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment