Skip to content

Commit 4f14e63

Browse files
committed
removing error that was causing scripts to fail
1 parent 62613d5 commit 4f14e63

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

build/assets/js/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/assets/js/maps/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/main.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,25 @@
77
lazyEls.forEach(function(lazyEl) {
88
lazyEl.setAttribute('src', lazyEl.getAttribute('data-src'));
99
});
10-
} else {
11-
// Dynamically include a lazy loading library of your choice
12-
// Here including vanilla-lazyload
13-
// var script = document.createElement('script');
10+
}
11+
// else {
12+
// Dynamically include a lazy loading library of your choice
13+
// Here including vanilla-lazyload
14+
// var script = document.createElement('script');
1415

15-
// script.async = true;
16+
// script.async = true;
1617

17-
// script.src =
18-
// 'https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js';
18+
// script.src =
19+
// 'https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.0.0/dist/lazyload.min.js';
1920

20-
window.lazyLoadOptions = {
21-
elements_selector: '[loading=lazy]',
22-
use_native: true,
23-
//eventually more options here
24-
};
21+
// window.lazyLoadOptions = {
22+
// elements_selector: '[loading=lazy]',
23+
// use_native: true,
24+
//eventually more options here
25+
// };
2526

26-
document.body.appendChild(script);
27-
}
27+
// document.body.appendChild(script);
28+
// }
2829
})();
2930

3031
// GA

0 commit comments

Comments
 (0)