Truthy check is enough
This commit is contained in:
@@ -637,7 +637,7 @@ ol.structs.RBush.prototype.remove_ = function(extent, value) {
|
|||||||
} else {
|
} else {
|
||||||
childrenDone = true;
|
childrenDone = true;
|
||||||
}
|
}
|
||||||
if (childrenDone === true) {
|
if (childrenDone) {
|
||||||
var lastPathIndex = path.length - 1;
|
var lastPathIndex = path.length - 1;
|
||||||
node = path[lastPathIndex];
|
node = path[lastPathIndex];
|
||||||
index = ++indexes[lastPathIndex];
|
index = ++indexes[lastPathIndex];
|
||||||
|
|||||||
Reference in New Issue
Block a user