This commit is contained in:
Tomas Dvorak
2025-05-28 13:55:48 +02:00
parent 92e2f5b17d
commit e1f5281723
+3 -1
View File
@@ -1460,7 +1460,9 @@ function updateBannerPreview() {
if (imagePreviewContainer) { if (imagePreviewContainer) {
imagePreviewContainer.style.display = 'none'; imagePreviewContainer.style.display = 'none';
} }
bannerPreview.classList.remove('with-image'); if (bannerPreview) {
bannerPreview.classList.remove('with-image');
}
} }
// Apply template styles to the banner preview // Apply template styles to the banner preview