Skip to content

Commit d83c4e5

Browse files
authored
fix
1 parent 53d09fc commit d83c4e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blocks_vertical/procedures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ Blockly.ScratchBlocks.ProcedureUtils.removeFieldCallback = function(field) {
895895
for (var n = 0; n < this.inputList.length; n++) {
896896
var input = this.inputList[n];
897897
if (input.connection) {
898-
var target = input.connection.tak();
898+
var target = input.connection.targetBlock();
899899
if (target.getField(field.name) == field) {
900900
if (cannotRemove(n)) return
901901
inputNameToRemove = input.name;

0 commit comments

Comments
 (0)