aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorChristoph Settgast <csett86@web.de>2022-12-11 09:32:05 +0100
committerGitHub <noreply@github.com>2022-12-11 09:32:05 +0100
commit63b77fc9cb0e1f190ce5bd8c0d17fcef9319823e (patch)
tree72d4ad52681fe4eebb1dd71650f4b9fae497bf4d /main.js
parentb588d608c6729cdc79e2f11f2ce78a8ad9886006 (diff)
fix: popups for Google & Dropbox (#816)
broken likely since 542c7f089a241487a0c7bc7905e21db93c5bb13b (#787)
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.js b/main.js
index f97350b..171fc08 100644
--- a/main.js
+++ b/main.js
@@ -217,6 +217,12 @@ function createJitsiMeetWindow() {
if (!target || target === 'browser') {
openExternalLink(url);
+
+ return { action: 'deny' };
+ }
+
+ if (target === 'electron') {
+ return { action: 'allow' };
}
return { action: 'deny' };