Skip to content

Commit

Permalink
cnn lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Schwarzenberger committed Dec 15, 2020
1 parent 23805b0 commit 5d024a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/lazyload.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ window.addEventListener('DOMContentLoaded', function () {
const url = new URL(decodeURIComponent(probably));
e.setAttribute('lazy', src);
if (url) {
url.protocol = 'https';
e.setAttribute('src', url.toString());
}
})
Expand Down

0 comments on commit 5d024a3

Please sign in to comment.