mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Fix warnings related to number of arguments passed. (#3270)
This commit is contained in:
@@ -269,7 +269,8 @@ Blockly.onKeyDown = function(e) {
|
||||
if (deleteBlock && !Blockly.selected.workspace.isFlyout) {
|
||||
Blockly.Events.setGroup(true);
|
||||
Blockly.hideChaff();
|
||||
Blockly.selected.dispose(/* heal */ true, true);
|
||||
var selected = /** @type {!Blockly.BlockSvg} */ (Blockly.selected);
|
||||
selected.dispose(/* heal */ true, true);
|
||||
Blockly.Events.setGroup(false);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user