| commit | 6b07893cd3b69ac169fbdaa1741787416bcb0262 | [log] [tgz] |
|---|---|---|
| author | Ben Rohlfs <brohlfs@google.com> | Wed Mar 10 15:20:03 2021 +0100 |
| committer | Ben Rohlfs <brohlfs@google.com> | Wed Mar 10 22:19:42 2021 +0100 |
| tree | f51fd1c626c86f8893c8c00f75db8a574728ec02 | |
| parent | 5f520daaa8afa3ffe7e719a1b02a226907197d96 [diff] [blame] |
Replace this.async() with setTimeout() async() is Polymer 1 legacy. Change-Id: Iab589654ba4143aafafbd56a04e316716e402662
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts b/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts index 1b85e21..34572c5 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts
@@ -141,7 +141,7 @@ // NOTE: This method may be called before attachment. Fire title-change // in an async so that attachment to the DOM can take place first. - this.async(() => fireTitleChange(this, this._query)); + setTimeout(() => fireTitleChange(this, this._query)); this.restApiService .getPreferences()