fix my bs
This commit is contained in:
parent
19c9322cdb
commit
50fe9eb2e8
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user