Added zoom plates on signs that needed it

Also made sure that pictures are pre-loaded, so we don't have a 2sec delay when showing them
This commit is contained in:
2024-01-18 02:04:31 +01:00
parent c07175f4fa
commit 8f0c4b3274
2 changed files with 21 additions and 9 deletions

View File

@@ -7,5 +7,7 @@ export function showPicture(link){
}
//Hide picture :
export function hidePicture(){
$("#picture_zoom").fadeOut(400);
$("#picture_zoom").fadeOut(400, ()=>{
$("#picture_zoom img").attr("src", '');
});
}