mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Ignore whether parent has multiple inputs
This commit is contained in:
@@ -340,12 +340,6 @@ Blockly.Block.prototype.unplugFromRow_ = function(opt_healStack) {
|
||||
return;
|
||||
}
|
||||
|
||||
var parentBlock = parentConnection.getSourceBlock();
|
||||
if (parentConnection != parentBlock.getOnlyValueConnection_()) {
|
||||
// Too many or too few possible connections on the parent.
|
||||
return;
|
||||
}
|
||||
|
||||
var thisConnection = this.getOnlyValueConnection_();
|
||||
if (!thisConnection || !thisConnection.isConnected()) {
|
||||
// Too many or too few possible connections on this block, or there's
|
||||
|
||||
Reference in New Issue
Block a user