enable the join button when an error requesting the token occurs
This commit is contained in:
parent
c7491223bf
commit
1e91ae1770
@ -174,6 +174,8 @@ function joinSession() {
|
||||
})
|
||||
.catch(error => {
|
||||
console.warn('There was an error connecting to the session:', error.code, error.message);
|
||||
document.getElementById("join-btn").disabled = false;
|
||||
document.getElementById("join-btn").innerHTML = "Join!";
|
||||
});
|
||||
|
||||
return false;
|
||||
|
||||
@ -174,6 +174,8 @@ function joinSession() {
|
||||
})
|
||||
.catch(error => {
|
||||
console.warn('There was an error connecting to the session:', error.code, error.message);
|
||||
document.getElementById("join-btn").disabled = false;
|
||||
document.getElementById("join-btn").innerHTML = "Join!";
|
||||
});
|
||||
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user