diff --git a/views/pages/landing.ejs b/views/pages/landing.ejs index bba5a8c..1ecf6ff 100644 --- a/views/pages/landing.ejs +++ b/views/pages/landing.ejs @@ -655,13 +655,14 @@ <script> function emergency(){ + var res = confirm("You are in a dangerous area. Would you like to call 911?"); - if( res == true ) { - <a href="tel:+1-911">call 911</a> - } - else { - alert("Please stay safe!"); - } + if( res == true ) { + alert("calling 911...");// <a href="tel:+1-911">call 911</a> + } + else { + alert("Please stay safe!"); + } } function todo() {