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({