aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zoom
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-05-15 15:01:36 -0500
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-05-15 15:08:54 -0500
commitddeaca3d6776d8828e8d4bf1e849d0f7097982f0 (patch)
treedd5fc3ed9691c31ed55ce1d9a1b7bb827ae4465e /recipes/zoom
parentUpgrade 'pnpm' to '7.1.0' (diff)
downloadferdium-recipes-ddeaca3d6776d8828e8d4bf1e849d0f7097982f0.tar.gz
ferdium-recipes-ddeaca3d6776d8828e8d4bf1e849d0f7097982f0.tar.zst
ferdium-recipes-ddeaca3d6776d8828e8d4bf1e849d0f7097982f0.zip
Use a click-handler for slack to capture all click events and open in the same recipe webview
Diffstat (limited to 'recipes/zoom')
-rw-r--r--recipes/zoom/webview.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/zoom/webview.js b/recipes/zoom/webview.js
index 0dd0e38..7612d83 100644
--- a/recipes/zoom/webview.js
+++ b/recipes/zoom/webview.js
@@ -26,6 +26,7 @@ module.exports = Ferdium => {
26 26
27 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); 27 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
28 28
29 // TODO: See how this can be moved into the main ferdium app and sent as an ipc message for opening with a new window or same Ferdium recipe's webview based on user's preferences
29 document.addEventListener('click', event => { 30 document.addEventListener('click', event => {
30 const link = event.target.closest('a[href^="http"]'); 31 const link = event.target.closest('a[href^="http"]');
31 const button = event.target.closest('button[title^="http"]'); 32 const button = event.target.closest('button[title^="http"]');