aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/skype/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/skype/webview.js')
-rw-r--r--recipes/skype/webview.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/skype/webview.js b/recipes/skype/webview.js
index 47b6f27..23e6919 100644
--- a/recipes/skype/webview.js
+++ b/recipes/skype/webview.js
@@ -30,6 +30,7 @@ module.exports = Ferdium => {
30 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); 30 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
31 Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); 31 Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js'));
32 32
33 // 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
33 document.addEventListener('click', event => { 34 document.addEventListener('click', event => {
34 const link = event.target.closest('a[href^="http"]'); 35 const link = event.target.closest('a[href^="http"]');
35 const button = event.target.closest('button[title^="http"]'); 36 const button = event.target.closest('button[title^="http"]');