From 53ba0674323873f2498b5acafed2523373aa13c9 Mon Sep 17 00:00:00 2001 From: Ankush Chauhan Date: Mon, 26 Oct 2020 20:04:05 +0530 Subject: [PATCH] update --- public/script.js | 8 ++++++++ views/room.ejs | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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 @@
- +