[call-me] - improvements, update dep
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "call-me",
|
||||
"version": "1.0.73",
|
||||
"version": "1.0.74",
|
||||
"description": "Your Go-To for Instant Video Calls",
|
||||
"author": "Miroslav Pejic - miroslav.pejic.85@gmail.com",
|
||||
"license": "AGPLv3",
|
||||
@@ -31,6 +31,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.1.9",
|
||||
"prettier": "3.4.2"
|
||||
"prettier": "3.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -450,6 +450,13 @@ function handleSignInClick() {
|
||||
// Toggle local video visibility
|
||||
function toggleLocalVideo() {
|
||||
localVideoContainer.classList.toggle('hide');
|
||||
// Stop video and audio if they are currently active
|
||||
if (!videoBtn.classList.contains('btn-danger')) {
|
||||
videoBtn.click();
|
||||
}
|
||||
if (!audioBtn.classList.contains('btn-danger')) {
|
||||
audioBtn.click();
|
||||
}
|
||||
}
|
||||
|
||||
// Handle Select user to call on changes
|
||||
|
||||
Reference in New Issue
Block a user