Index: tracing/tracing/ui/annotations/comment_box_annotation_view.html |
diff --git a/tracing/tracing/ui/annotations/comment_box_annotation_view.html b/tracing/tracing/ui/annotations/comment_box_annotation_view.html |
index 5cfef8266960aea29bd7334810117935cd48ded3..0ae507fbb6b12672071ecad40f213ca2e3c7767c 100644 |
--- a/tracing/tracing/ui/annotations/comment_box_annotation_view.html |
+++ b/tracing/tracing/ui/annotations/comment_box_annotation_view.html |
@@ -40,8 +40,9 @@ tr.exportTo('tr.ui.annotations', function() { |
draw: function(ctx) { |
var coords = this.annotation_.location.toViewCoordinates(this.viewport_); |
if (coords.viewX < 0) { |
- if (this.textArea_) |
+ if (this.textArea_) { |
this.textArea_.style.visibility = 'hidden'; |
+ } |
return; |
} |