mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-22 10:59:29 -04:00
Fix 'this' in field change handler calls.
Caught by toebes.
This commit is contained in:
parent
0274763beb
commit
6d8bae4836
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ Blockly.FieldVariable.prototype.setChangeHandler = function(handler) {
|
|||
} else {
|
||||
wrappedHandler = Blockly.FieldVariable.dropdownChange;
|
||||
}
|
||||
Blockly.FieldVariable.superClass_.setChangeHandler(wrappedHandler);
|
||||
Blockly.FieldVariable.superClass_.setChangeHandler.call(this, wrappedHandler);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue