img to fullscreen
parent
35b115fe7c
commit
c11a01165d
|
@ -0,0 +1,7 @@
|
|||
<script>
|
||||
document.querySelectorAll('img').forEach(img => {
|
||||
img.onclick = function() {
|
||||
this.requestFullscreen();
|
||||
};
|
||||
});
|
||||
</script>
|
|
@ -56,5 +56,6 @@
|
|||
|
||||
{% include analytics.html %}
|
||||
{% include unami.html %}
|
||||
{% include img-to-fullscreen.html %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue