From 8050ae207dc74102506bc9861b3ec44821e55eda Mon Sep 17 00:00:00 2001 From: luxtiasco <79135227+luxtiasco@users.noreply.github.com> Date: Mon, 13 Mar 2023 00:53:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20webapp1.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- searx/webapp1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {