From 32b83a0d811d531b5b26aa43b377aa4404bbdb04 Mon Sep 17 00:00:00 2001 From: Android Date: Mon, 5 Jul 2021 03:14:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=8B=E6=83=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E7=9A=84=E5=A4=B4=E5=83=8F=E5=B8=A6=E6=9C=89?= =?UTF-8?q?=20Medium=20Zoom=20=E7=81=AF=E7=AE=B1=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/main.js b/source/js/main.js index 14a412e..4bf8839 100644 --- a/source/js/main.js +++ b/source/js/main.js @@ -294,7 +294,7 @@ document.addEventListener('DOMContentLoaded', function () { } const addMediumZoom = () => { - const zoom = mediumZoom(document.querySelectorAll('#article-container :not(a)>img')) + const zoom = mediumZoom(document.querySelectorAll('#article-container :not(a):not(.flink-item-icon) > img')) zoom.on('open', e => { const photoBg = document.documentElement.getAttribute('data-theme') === 'dark' ? '#121212' : '#fff' zoom.update({