being a good coder and adding braces around if statement body
This commit is contained in:
1 parent
4efa03eb59
commit
bf834e6b8e
1 file changed
+1
-1
@@ -789,7 +789,7 @@ OpenLayers.Renderer.Canvas = OpenLayers.Class(OpenLayers.Renderer, {
|
||||
var featureId, feature;
|
||||
|
||||
// if the drawing canvas isn't visible, return undefined.
|
||||
if (this.root.style.display === "none") return feature;
|
||||
if (this.root.style.display === "none") { return feature; }
|
||||
|
||||
if (this.hitDetection) {
|
||||
// this dragging check should go in the feature handler
|
||||
|
||||
Reference in new issue
Block a user