Add lazy loading

This commit is contained in:
Li 2022-09-21 21:31:45 +12:00
parent fb8bad53c1
commit 7b744af936
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ else
echo '<div class="psm-game" onclick="open_url(\'?game='.$titleid.'\')"">
<a href="?game='.$titleid.'" class="nostyle">
<img src="/gameinfo/'. $titleid .'/icon_128x128.png" width="124" height="124">
<img src="/gameinfo/'. $titleid .'/icon_128x128.png" loading="lazy" width="124" height="124">
';
if(getSdkType($xml) == "PSM Unity")