删除调试信息

master
落雨楓 2 months ago
parent aca1cb98bd
commit 0447cf168f

@ -19,9 +19,7 @@ function debounce(func, wait, immediate) {
} }
function observeResize(masonry) { function observeResize(masonry) {
console.log('ResizeObserver supported');
let resizeObserver = new ResizeObserver(debounce(function () { let resizeObserver = new ResizeObserver(debounce(function () {
console.log('masonry resize');
masonry.layout(); masonry.layout();
}, 100)); }, 100));
@ -49,7 +47,6 @@ function observeResizeFallback(masonry) {
}); });
if (isResized) { if (isResized) {
console.log('masonry resize');
masonry.layout(); masonry.layout();
} }
}, 1000); }, 1000);

Loading…
Cancel
Save