diff options
author | Robert Scheibe <mail@robert-scheibe.de> | 2025-01-18 14:42:05 +0100 |
---|---|---|
committer | Robert Scheibe <mail@robert-scheibe.de> | 2025-01-18 14:42:05 +0100 |
commit | a64158fd3c117bd108e4f9d4f9161dc57b60cf9b (patch) | |
tree | 388189b54f19529c138110c00a8792febb7710ce /index.html | |
parent | 1b494e6d3e7da116e34f915269892b5e8c752271 (diff) |
removed magnifying lensmain
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -225,10 +225,10 @@ function updateImage() { document.getElementById('featured').src = `${timeString}.jpg`; // Wait for the new image to load before reinitializing const featuredImage = document.getElementById('featured'); - featuredImage.onload = function() { + /*featuredImage.onload = function() { resetMagnifier(); magnify("featured", 3); - }; + };*/ } function updateButtons() { @@ -265,11 +265,11 @@ document.addEventListener('keydown', function(event) { updateGallery(); /* Initiate Magnify Function -with the id of the image, and the strength of the magnifier glass:*/ +with the id of the image, and the strength of the magnifier glass: const featuredImage = document.getElementById('featured'); featuredImage.onload = function() { magnify("featured", 3); -}; +};*/ // Aktualisiere die Galerie alle 15 Minuten setInterval(updateGallery, 900000); |