From 78c5dedf1d7735b842e8b67afee0a5fab5ec3fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B5=8E=E8=8A=9D?= Date: Wed, 8 May 2024 13:35:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(post):=20=E5=AE=8C=E5=96=84=E6=96=87?= =?UTF-8?q?=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/posts/toy/js-loadding-lazy/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/posts/toy/js-loadding-lazy/index.html b/docs/posts/toy/js-loadding-lazy/index.html index c34b1131..c5fba8f2 100644 --- a/docs/posts/toy/js-loadding-lazy/index.html +++ b/docs/posts/toy/js-loadding-lazy/index.html @@ -376,7 +376,7 @@

Js懒加载

var counter = 0; elements.each(function(){ if($.abovethetop(this, settings) || $.leftofbegin(this, settings)){ - } else if(!$.belowthefold(this, settings) && !$.rightoffold(this, settings)){ + } else if(!$.belowthefold(this, settings) && !$.rightoffold(this, settings)){ $(this).trigger("appear"); } else { if(counter++ > settings.failurelimit){