Skip to content

Commit 87bf01f

Browse files
committed
add timeout so zoom can lauch meetings
1 parent ca07a8a commit 87bf01f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

background.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
const closeZoomWindow = (tab)=>{
2-
if (tab.url.includes('https://www.twilio.com/en-us/help/sales/thank-you-for-meeting')|| tab.url.includes('https://twilio.zoom.us/j/')) {
3-
chrome.tabs.remove(tab.id)
4-
}
2+
setTimeout(()=>{
3+
if (tab.url.includes('https://www.twilio.com/en-us/help/sales/thank-you-for-meeting')|| tab.url.includes('https://twilio.zoom.us/j/')) {
4+
chrome.tabs.remove(tab.id)
5+
}
6+
},500)
57
}
68

79
const closeZoomWindowProxy = (tabId,changeInfo,tab)=>{

0 commit comments

Comments
 (0)