fix images

This commit is contained in:
2021-08-09 05:09:58 +01:00
parent e44e92e156
commit fe4de971a3
2 changed files with 31 additions and 0 deletions

View File

@@ -67,6 +67,12 @@
});
});
}
[...document.querySelectorAll('figure img')].forEach(function(img) {
img.addEventListener('click', function() {
window.open(img.getAttribute("src"), "_blank");
});
});
</script>
</body>
</html>