Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit bbc8d8a

Browse files
committed
Fix JCEF previews were not sometimes shown
1 parent 5bdd5de commit bbc8d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projector-client-web/src/main/kotlin/org/jetbrains/projector/client/web/component/ClientComponentManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ abstract class ClientComponentManager<Component : ClientComponent>(
6464
component.iFrame.style.display = "block"
6565
}
6666

67-
false -> component.dispose()
67+
false -> component.iFrame.style.display = "none"
6868
}
6969
}
7070

0 commit comments

Comments
 (0)