Fix 10 warnings related to visibility (#3275)

This commit is contained in:
Sam El-Husseini
2019-10-17 11:46:57 -05:00
committed by GitHub
parent 7f41532717
commit 526528354f
4 changed files with 8 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ Blockly.Connection.prototype.canConnectToPrevious_ = function(candidate) {
}
// Don't let blocks try to connect to themselves or ones they nest.
if (Blockly.draggingConnections_.indexOf(candidate) != -1) {
if (Blockly.draggingConnections.indexOf(candidate) != -1) {
return false;
}
@@ -405,7 +405,7 @@ Blockly.Connection.prototype.isConnectionAllowed = function(candidate) {
}
// Don't let blocks try to connect to themselves or ones they nest.
if (Blockly.draggingConnections_.indexOf(candidate) != -1) {
if (Blockly.draggingConnections.indexOf(candidate) != -1) {
return false;
}