feat: store product image URL in window object for improved accessibility in image handling

This commit is contained in:
sebseb7
2025-07-23 08:35:08 +02:00
parent 61faf654bc
commit d16e979771
3 changed files with 6 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ class Images extends Component {
for(const bildId of bildIds){
if(bildId == mainPicId){
if(window.productImageUrl) continue;
if(window.largePicCache[bildId]){
pics.push(window.largePicCache[bildId]);