Skip to content

Commit ad55600

Browse files
Merge pull request #4 from antsustr/lang-fix
Non english meet fix
2 parents 907d3b0 + cc22594 commit ad55600

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

exitMeet.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ function exit() {
22
if (running) {
33
if (requiredParticipantToExit > parseInt(document.querySelector('.wnPUne').innerHTML)) {
44
localStorage.removeItem('running');
5-
document.querySelector('[aria-label="Leave call"]').click()
5+
document.querySelector('.GaONte').click()
66
clearInterval(exitInt);
77
}
88
}

popup.js

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
99

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

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

0 commit comments

Comments
 (0)