mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-05 04:52:58 +00:00
ff
This commit is contained in:
@@ -1486,7 +1486,9 @@ function updateBannerPreview() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update the banner content with the generated HTML
|
// Update the banner content with the generated HTML
|
||||||
|
if (bannerPreviewContent) {
|
||||||
bannerPreviewContent.innerHTML = bannerContent;
|
bannerPreviewContent.innerHTML = bannerContent;
|
||||||
|
}
|
||||||
|
|
||||||
// Add event listeners for width/height changes
|
// Add event listeners for width/height changes
|
||||||
const imageWidthInput = document.getElementById('bannerImageWidth');
|
const imageWidthInput = document.getElementById('bannerImageWidth');
|
||||||
@@ -1502,7 +1504,9 @@ function updateBannerPreview() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the preview is visible
|
// Make sure the preview is visible
|
||||||
|
if (bannerPreview) {
|
||||||
bannerPreview.style.visibility = 'visible';
|
bannerPreview.style.visibility = 'visible';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply preset
|
// Apply preset
|
||||||
|
|||||||
Reference in New Issue
Block a user