cleaned up JS

This commit is contained in:
partisan 2024-10-22 10:46:47 +02:00
parent 186026fa6d
commit cdd0c13cdc
7 changed files with 82 additions and 75 deletions

View file

@ -1,3 +1,6 @@
/*
This script is responsible for trimming image title/name on the image results page. (Since I haven't figured out how to make this work in CSS.)
*/
document.addEventListener('DOMContentLoaded', function() {
let imagesContainer = document.querySelector('.images');
let observer;