Skip to content

Commit 42dfa57

Browse files
authored
dude nobody likes you for banning ??
1 parent 8a730e4 commit 42dfa57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blocks_vertical/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ Blockly.Blocks['control_expandableIf'] = {
335335
const oldBlock = oldConnections[index];
336336
if (oldBlock) {
337337
try {
338-
const connector = oldBlock.outputConnection ?? oldBlock.previousConnection;
338+
const connector = oldBlock.outputConnection ? oldBlock.outputConnection : oldBlock.previousConnection;
339339
input.connection.connect(connector);
340340
} catch {}
341341
}

0 commit comments

Comments
 (0)