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

Cobaba

parent 700de14c
......@@ -12,7 +12,7 @@ const STATUS_MISSED = 60;
/* JS comes here */
function textToAudio() {
let no_antrian = document.getElementById("no_antrian").innerHTML;
// let msg1 = "nomor antrian";
let voice = "nomor antrian " + no_antrian;
console.log(voice)
......@@ -348,14 +348,16 @@ function actionqueue(antrianno, status) {
var flush = new Audio('../../data/tone/a1.mp3');
setTimeout(function() {
flush.play(); }, )
setTimeout(function () {
flush.play();
})
flush.onended = function() {
flush.onended = function () {
textToAudio()
setTimeout(function() {
textToAudioRuang() }, 3000)
setTimeout(function () {
textToAudioRuang()
}, 3000)
};
swal({
......
......@@ -396,8 +396,7 @@ function loadedit(param) {
success: function (result) {
// console.log(result);
// $('.loaddata').empty();
// console.log(result);
// $('.loaddata').empty();
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