Index: tracing/tracing/ui/extras/drive/comments_side_panel.html |
diff --git a/tracing/tracing/ui/extras/drive/comments_side_panel.html b/tracing/tracing/ui/extras/drive/comments_side_panel.html |
index a834ab16da3f6632d73100e30511e42bf9d7e776..1430f47df7b349ce4af9253b9b76f55449485227 100644 |
--- a/tracing/tracing/ui/extras/drive/comments_side_panel.html |
+++ b/tracing/tracing/ui/extras/drive/comments_side_panel.html |
@@ -86,8 +86,7 @@ Polymer({ |
commentClick: function(event) { |
var anchor = event.currentTarget.comment.anchor; |
- if (!anchor) |
- return; |
+ if (!anchor) return; |
var uiState = |
JSON.parse(anchor).a[0][tr.ui.e.drive.constants.ANCHOR_NAME]; |
@@ -99,8 +98,9 @@ Polymer({ |
}); |
document.dispatchEvent(myEvent); |
- if (this.annotationFromComment_) |
+ if (this.annotationFromComment_) { |
this.model.removeAnnotation(this.annotationFromComment_); |
+ } |
var loc = new tr.model.Location(uiState.location.xWorld, |
uiState.location.yComponents); |
@@ -139,8 +139,9 @@ Polymer({ |
}, |
get currentRangeOfInterest() { |
- if (this.rangeOfInterest_.isEmpty) |
+ if (this.rangeOfInterest_.isEmpty) { |
return this.model_.bounds; |
+ } |
return this.rangeOfInterest_; |
}, |