perf: refactor using semantic HTML (#1207)

Fixes #1196
This commit is contained in:
Cotes Chung
2023-09-08 22:48:37 +08:00
committed by GitHub
parent 41b8f9f519
commit 505e314a31
33 changed files with 412 additions and 399 deletions

View File

@@ -7,7 +7,7 @@ function stopShimmer($node) {
}
export function imgLazy() {
const $images = $('#core-wrapper img[data-src]');
const $images = $('main img[data-src]');
if ($images.length <= 0) {
return;