diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-14 15:15:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-14 15:15:28 +0800 |
| commit | 04457c3f793c46c1bd34f8c1c8b1715ccba5f207 (patch) | |
| tree | 1a26ef730200eca79a1839c793d2b7152e97c2ef /includes | |
| parent | 9f76c533f9688c8fb76daf366c651e813093aade (diff) | |
图片懒加载、修复灯箱 BUG、优化某些样式在夜间模式下的显示
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/footer.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/footer.php b/includes/footer.php index f014627..82d527a 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -50,6 +50,13 @@ width: '400px', maxHeight: '250px' }); + jQuery(function() { + jQuery("img").lazyload({threshold: 200,effect: "fadeIn"}); + }); + }); + //LazyLoad + jQuery(function() { + jQuery("img").lazyload({threshold: 200,effect: "fadeIn"}); }); //解决刷新后不显示行号的问题 var pres = document.getElementsByTagName('pre'); |
