We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a730e4 commit 42dfa57Copy full SHA for 42dfa57
1 file changed
blocks_vertical/control.js
@@ -335,7 +335,7 @@ Blockly.Blocks['control_expandableIf'] = {
335
const oldBlock = oldConnections[index];
336
if (oldBlock) {
337
try {
338
- const connector = oldBlock.outputConnection ?? oldBlock.previousConnection;
+ const connector = oldBlock.outputConnection ? oldBlock.outputConnection : oldBlock.previousConnection;
339
input.connection.connect(connector);
340
} catch {}
341
}
0 commit comments