Your code is a missing quote. but you can use my code below as documentation define.
Update your code
setTimeout(function(){
$.modal.close();
}, 5000);
solved Close Modal box after 5 seconds
Your code is a missing quote. but you can use my code below as documentation define.
Update your code
setTimeout(function(){
$.modal.close();
}, 5000);
solved Close Modal box after 5 seconds