Skip to content

Commit 22a9145

Browse files
committed
trying to add lazy
1 parent 64dcbe4 commit 22a9145

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

gallery.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ var s3 = new AWS.S3({
2323
});
2424

2525
viewAlbum('bh6');
26-
viewAlbum('bh5');
26+
// viewAlbum('bh5');
27+
28+
$('.image').lazy();
29+
2730
// Used to create HTML for our images
2831
function getHtml(template) {
2932
return template.join('\n');

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"active-menu-link": "^1.1.8",
3333
"aws-sdk": "^2.831.0",
3434
"jquery": "^3.5.1",
35+
"jquery-lazy": "^1.7.11",
3536
"parcel-plugin-metaimage": "^1.2.4",
3637
"rellax": "^1.12.1",
3738
"slick-carousel": "^1.8.1"

0 commit comments

Comments
 (0)