mirror of
https://github.com/google/blockly.git
synced 2026-03-11 15:50:10 +01:00
[WIP] Remove duplicated onchangewrapper
This commit is contained in:
@@ -160,11 +160,6 @@ Blockly.Block = function(workspace, prototypeName, opt_id) {
|
||||
this.onchangeWrapper_ = this.onchange.bind(this);
|
||||
this.workspace.addChangeListener(this.onchangeWrapper_);
|
||||
}
|
||||
// Bind an onchange function, if it exists.
|
||||
if ((!this.isInFlyout) && goog.isFunction(this.onchange)) {
|
||||
Blockly.bindEvent_(workspace.getCanvas(), 'blocklyWorkspaceChange', this,
|
||||
this.onchange);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user