Index: tracing/tracing/ui/base/table.html |
diff --git a/tracing/tracing/ui/base/table.html b/tracing/tracing/ui/base/table.html |
index f906429320940bac9b5d7797d76f6efbe8612d3a..548c4f11a7c7a9c6593b02942289d46b9addd024 100644 |
--- a/tracing/tracing/ui/base/table.html |
+++ b/tracing/tracing/ui/base/table.html |
@@ -715,7 +715,7 @@ tr.exportTo('tr.ui.b', function() { |
if (this.doesColumnIndexSupportSelection(i)) |
Polymer.dom(td).classList.add('supports-selection'); |
- if (this.columnsWithExpandButtons_.indexOf(i) != -1) { |
+ if (this.columnsWithExpandButtons_.indexOf(i) !== -1) { |
if (rowInfo.userRow[this.subRowsPropertyName_] && |
rowInfo.userRow[this.subRowsPropertyName_].length > 0) { |
td.style.paddingLeft = INDENT_SPACE + 'px'; |
@@ -918,7 +918,8 @@ tr.exportTo('tr.ui.b', function() { |
return false; |
if (userRow.isExpanded) |
return true; |
- if (userRow.isExpanded === false) |
+ if ((userRow.isExpanded !== undefined) && |
+ (userRow.isExpanded === false)) |
charliea (OOO until 10-5)
2016/10/05 18:53:42
Did you mean to make this change? Looks like we ma
|
return false; |
var rowInfo = this.tableRowsInfo_.get(userRow); |