mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Split at higher level for multiline function calls
This commit is contained in:
@@ -182,8 +182,8 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
|
||||
// Check/uncheck the allow statement box.
|
||||
if (this.getInput('RETURN')) {
|
||||
containerBlock.setFieldValue(this.hasStatements_ ? 'TRUE' : 'FALSE',
|
||||
'STATEMENTS');
|
||||
containerBlock.setFieldValue(
|
||||
this.hasStatements_ ? 'TRUE' : 'FALSE', 'STATEMENTS');
|
||||
} else {
|
||||
containerBlock.getInput('STATEMENT_INPUT').setVisible(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user