diff --git a/public/script.js b/public/script.js index d61df4a..bbe8194 100644 --- a/public/script.js +++ b/public/script.js @@ -132,3 +132,11 @@ const setPlayVideo = () => { ` document.querySelector('.main__video_button').innerHTML = html; } + + // for leave meeting + + function close_window() { + if (confirm("Are You Sure to leave this meeting ?")) { + window.close(); + } + } diff --git a/views/room.ejs b/views/room.ejs index b05ca4d..8c9db25 100644 --- a/views/room.ejs +++ b/views/room.ejs @@ -64,7 +64,7 @@
- Leave Meeting + Leave Meeting
@@ -80,7 +80,7 @@
- +