This commit is contained in:
lllyasviel
2024-01-08 10:41:02 -08:00
committed by GitHub
parent f298ebca76
commit 888cc08405
+1 -1
View File
@@ -164,7 +164,7 @@ function initStylePreviewOverlay() {
overlay.style.backgroundImage = `url("${samplesPath.replace( overlay.style.backgroundImage = `url("${samplesPath.replace(
"fooocus_v2", "fooocus_v2",
name.toLowerCase().replaceAll(" ", "_") name.toLowerCase().replaceAll(" ", "_")
)}")`; ).replaceAll("\\", "\\\\")}")`;
function onMouseLeave() { function onMouseLeave() {
overlayVisible = false; overlayVisible = false;
overlay.style.display = "none"; overlay.style.display = "none";