Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: tracing/tracing/ui/annotations/comment_box_annotation_view.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698