Skip to content

Commit a9b3058

Browse files
authored
live_tests.js -- fix misplaced expandable if button
1 parent 7380a39 commit a9b3058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blocks_vertical/live_tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Blockly.Blocks['control_expandableIf'] = {
7575
} else {
7676
const prevText = this.getInput(`TEXTSTART${this.branches_}`);
7777
if (prevText) prevText.appendField("if");
78-
else this.appendDummyInput().appendField("if");
78+
else this.appendDummyInput(`TEXTSTART${this.branches_}`).appendField("if");
7979
const input = this.appendValueInput(`BOOL${this.branches_}`);
8080
this.fillInBlock(input.connection, "checkbox");
8181
this.appendDummyInput(`TEXTEND${this.branches_}`).appendField("then");

0 commit comments

Comments
 (0)