aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zoom
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-07-12 23:35:09 +0100
committerLibravatar GitHub <noreply@github.com>2022-07-12 23:35:09 +0100
commitc265c7991691828019c0a06c44f62a5d2d072c0f (patch)
tree0d1563f8d8a4f12d04a3d65c23582ca58863021d /recipes/zoom
parentFix facebook notifications counter (#118) (diff)
downloadferdium-recipes-c265c7991691828019c0a06c44f62a5d2d072c0f.tar.gz
ferdium-recipes-c265c7991691828019c0a06c44f62a5d2d072c0f.tar.zst
ferdium-recipes-c265c7991691828019c0a06c44f62a5d2d072c0f.zip
Change isImage to link and stayInsideDiscord (#120)
* Change isImage to URL and stayInsideDiscord * Fix comments
Diffstat (limited to 'recipes/zoom')
-rw-r--r--recipes/zoom/package.json2
-rw-r--r--recipes/zoom/webview.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/zoom/package.json b/recipes/zoom/package.json
index 5357394..2982a9d 100644
--- a/recipes/zoom/package.json
+++ b/recipes/zoom/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "zoom", 2 "id": "zoom",
3 "name": "Zoom", 3 "name": "Zoom",
4 "version": "1.3.3", 4 "version": "1.3.4",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://zoom.us/join", 7 "serviceURL": "https://zoom.us/join",
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