| Index: tracing/tracing/value/ui/value_set_view.html
|
| diff --git a/tracing/tracing/value/ui/value_set_view.html b/tracing/tracing/value/ui/value_set_view.html
|
| index 9a773957e749cf27222fc4ce8b2318baaa682f56..996d96b8cc152d901262d1d80e904a0a9dcbe682 100644
|
| --- a/tracing/tracing/value/ui/value_set_view.html
|
| +++ b/tracing/tracing/value/ui/value_set_view.html
|
| @@ -16,7 +16,7 @@ found in the LICENSE file.
|
|
|
| <script>
|
| 'use strict';
|
| -tr.exportTo('tr.ui', function() {
|
| +tr.exportTo('tr.v.ui', function() {
|
| var VALUE_SET_VIEW_ELEMENT_NAMES = [];
|
|
|
| var SELECTED_TAB_SETTINGS_KEY = 'tr-v-ui-value-set-view-element-name';
|
| @@ -62,7 +62,8 @@ tr.exportTo('tr.ui', function() {
|
|
|
| if (this.$.container.children.length === 1) {
|
| this.$.container.tabsHidden = true;
|
| - } else if (this.$.container.selectedTab === undefined) {
|
| + }
|
| + if (this.$.container.selectedTab === undefined) {
|
| this.$.container.children[0].setAttribute('selected', true);
|
| }
|
| }
|
| @@ -81,7 +82,8 @@ tr.exportTo('tr.ui', function() {
|
| }
|
|
|
| return {
|
| - registerValueSetView: registerValueSetView
|
| + registerValueSetView: registerValueSetView,
|
| + SELECTED_TAB_SETTINGS_KEY: SELECTED_TAB_SETTINGS_KEY
|
| };
|
| });
|
| </script>
|
|
|