diff --git a/core/rendered_connection.js b/core/rendered_connection.js index 9d6739b29..6ac5c5a60 100644 --- a/core/rendered_connection.js +++ b/core/rendered_connection.js @@ -368,7 +368,7 @@ Blockly.RenderedConnection.prototype.disconnect = function() { if (rehide) { // Set the hidden state for the connection back to true so shadow blocks // will be hidden. - superiorConnection.setHidden(true); + superiorConnection.hideAll(); } };