fix my bs

This commit is contained in:
nebula 2025-05-01 06:46:57 +00:00
parent 19c9322cdb
commit 50fe9eb2e8

View File

@ -22,7 +22,7 @@ function loadImage () {
image = new Image(); image = new Image();
image.src = "/compressed/compressed_" + photos[viewState]; image.src = "/compressed/compressed_" + photos[viewState];
timeout = window.setTimeout(function () { timeout = window.setTimeout(function () {
galleryImage.src = loadImage.src; galleryImage.src = "/loading.gif";
}, 400) }, 400)
image.onload = function () { image.onload = function () {
window.clearTimeout(timeout); window.clearTimeout(timeout);