Skip to content

Commit

Permalink
Merge pull request #4 from antsustr/lang-fix
Browse files Browse the repository at this point in the history
Non english meet fix
  • Loading branch information
ProgrammerGaurav authored Feb 28, 2021
2 parents 907d3b0 + cc22594 commit ad55600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion exitMeet.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function exit() {
if (running) {
if (requiredParticipantToExit > parseInt(document.querySelector('.wnPUne').innerHTML)) {
localStorage.removeItem('running');
document.querySelector('[aria-label="Leave call"]').click()
document.querySelector('.GaONte').click()
clearInterval(exitInt);
}
}
Expand Down
1 change: 1 addition & 0 deletions popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {

} else {
document.getElementById('noOfParticipant').innerHTML = request.noOfParticipants;
document.getElementById('requiredParticipantToExit').value = Math.round(request.noOfParticipants/2);

document.getElementById('confirm').addEventListener('click', () => {
const requiredParticipantToExit = document.getElementById('requiredParticipantToExit').value;
Expand Down

0 comments on commit ad55600

Please sign in to comment.