Explorar o código

Add lazy loading to images in examples page

Marco Fugaro %!s(int64=5) %!d(string=hai) anos
pai
achega
57a8150346
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

@@ -169,7 +169,7 @@
 				'<div class="card">',
 				'	<a href="' + file + '.html" target="viewer">',
 				'		<div class="cover">',
-				'			<img src="screenshots/' + file + '.png" />',
+				'			<img src="screenshots/' + file + '.png" loading="lazy" />',
 				'		</div>',
 				'		<div class="title">' + getName( file ) + '</div>',
 				'	</a>',