add audio for order reservation
This commit is contained in:
@@ -159,10 +159,10 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
/* start order reservation function */
|
||||
function audioPlayBackground(shop_code){
|
||||
console.log(shop_code);
|
||||
function audioPlayBackground(shop_code,audio){
|
||||
// console.log(shop_code);
|
||||
//audio play
|
||||
var audio = new Audio('/'+shop_code+'-beep.mp3'); // define your audio
|
||||
var audio = new Audio('/'+audio); // define your audio
|
||||
// setTimeout(function(){
|
||||
// audio.loop = true;
|
||||
audio.play();
|
||||
|
||||
Reference in New Issue
Block a user