modified: index.html
new file: js/art.js new file: js/hdr.js new file: js/hearts.js new file: js/helpers.js new file: js/particles.js new file: js/qlpycon.js new file: js/qlpyconbanner.js new file: js/snek.js new file: js/sparks.js new file: js/stars.js modified: slamp.html modified: style.css
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
document.querySelector('#things-details').addEventListener('toggle', function(e) {
|
||||
if (!e.target.open) return;
|
||||
e.target.querySelectorAll('img[data-src]').forEach(function(img) {
|
||||
img.src = img.getAttribute('data-src');
|
||||
img.removeAttribute('data-src');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user