aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zoom/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/zoom/webview.js')
-rw-r--r--recipes/zoom/webview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/zoom/webview.js b/recipes/zoom/webview.js
index 1255675..45cc5b7 100644
--- a/recipes/zoom/webview.js
+++ b/recipes/zoom/webview.js
@@ -33,8 +33,8 @@ module.exports = (Ferdium, settings) => {
33 33
34 if (link || button) { 34 if (link || button) {
35 const url = link ? link.getAttribute('href') : button.getAttribute('title'); 35 const url = link ? link.getAttribute('href') : button.getAttribute('title');
36 36
37 if (!Ferdium.isImage(url)) { 37 if (!Ferdium.isImage(link)) {
38 event.preventDefault(); 38 event.preventDefault();
39 event.stopPropagation(); 39 event.stopPropagation();
40 40