diff --git a/searx/webapp1.py b/searx/webapp1.py index c8333bfb6..73e669d94 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1367,7 +1367,7 @@ function modal_open(url, num) () => { -const iframeDoc = iframe.contentDocument || iframe.contentWindow.document; +const iframeDoc = iframe.contentWindow.document; const links = iframeDoc.getElementsByTagName('a'); for (let i = 0; i < links.length; i++) {