From 0447cf168f8b831c724e4198d9e1e9bd3573d6f0 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Mon, 25 Nov 2024 11:15:34 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=B0=83=E8=AF=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/masonry/ext.isekai.masonry.base.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/masonry/ext.isekai.masonry.base.js b/modules/masonry/ext.isekai.masonry.base.js index 8e09a73..bb71403 100644 --- a/modules/masonry/ext.isekai.masonry.base.js +++ b/modules/masonry/ext.isekai.masonry.base.js @@ -19,9 +19,7 @@ function debounce(func, wait, immediate) { } function observeResize(masonry) { - console.log('ResizeObserver supported'); let resizeObserver = new ResizeObserver(debounce(function () { - console.log('masonry resize'); masonry.layout(); }, 100)); @@ -49,7 +47,6 @@ function observeResizeFallback(masonry) { }); if (isResized) { - console.log('masonry resize'); masonry.layout(); } }, 1000);