ask the user to confirm before logging out
This commit is contained in:
parent
7d9f25fd9b
commit
a9697d96cc
@ -22,7 +22,10 @@ Template.header.events
|
||||
"click .muteIcon": (event) ->
|
||||
toggleMic @
|
||||
"click .signOutIcon": (event) ->
|
||||
userLogout getInSession("meetingId"), getInSession("userId"), true
|
||||
response = confirm('Are you sure you want to exit?')
|
||||
if response
|
||||
userLogout getInSession("meetingId"), getInSession("userId"), true
|
||||
|
||||
"click .hideNavbarIcon": (event) ->
|
||||
toggleNavbar()
|
||||
# "click .settingsIcon": (event) ->
|
||||
|
Loading…
Reference in New Issue
Block a user