We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0511903 commit 8597b98Copy full SHA for 8597b98
frontend/src/utils/block.ts
@@ -644,7 +644,7 @@ class Block implements BlockOptions {
644
this.innerHTML = innerHTML;
645
}
646
toggleVisibility(show: boolean | null = null) {
647
- if (this.getStyle("display") === "none" || show === false) {
+ if (this.getStyle("display") === "none" || show === true) {
648
this.setStyle("display", this.getStyle("__last_display") || "flex");
649
this.setStyle("__last_display", null);
650
} else {
0 commit comments