Browse Source

Add lazy loading to images in examples page

Marco Fugaro 5 years ago
parent
commit
57a8150346
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

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