Add missing braces on statement
This commit is contained in:
@@ -640,7 +640,9 @@ ol.interaction.Draw.prototype.removeLastPoint = function() {
|
|||||||
this.geometryFunction_(this.sketchCoords_, geometry);
|
this.geometryFunction_(this.sketchCoords_, geometry);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coordinates.length === 0) this.finishCoordinate_ = null;
|
if (coordinates.length === 0) {
|
||||||
|
this.finishCoordinate_ = null;
|
||||||
|
}
|
||||||
|
|
||||||
this.updateSketchFeatures_();
|
this.updateSketchFeatures_();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user