This commit is contained in:
lllyasviel 2024-01-08 10:41:02 -08:00 committed by GitHub
parent f298ebca76
commit 888cc08405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ function initStylePreviewOverlay() {
overlay.style.backgroundImage = `url("${samplesPath.replace(
"fooocus_v2",
name.toLowerCase().replaceAll(" ", "_")
)}")`;
).replaceAll("\\", "\\\\")}")`;
function onMouseLeave() {
overlayVisible = false;
overlay.style.display = "none";