Add missing braces on statement

This commit is contained in:
geonux
2015-08-04 15:02:49 +02:00
parent 64ab764827
commit 999880f350

View File

@@ -640,7 +640,9 @@ ol.interaction.Draw.prototype.removeLastPoint = function() {
this.geometryFunction_(this.sketchCoords_, geometry);
}
if (coordinates.length === 0) this.finishCoordinate_ = null;
if (coordinates.length === 0) {
this.finishCoordinate_ = null;
}
this.updateSketchFeatures_();
};