img to fullscreen

master
Swissky 2024-10-03 16:53:00 +02:00
parent 35b115fe7c
commit c11a01165d
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<script>
document.querySelectorAll('img').forEach(img => {
img.onclick = function() {
this.requestFullscreen();
};
});
</script>

View File

@ -56,5 +56,6 @@
{% include analytics.html %} {% include analytics.html %}
{% include unami.html %} {% include unami.html %}
{% include img-to-fullscreen.html %}
</body> </body>
</html> </html>