From e142b7a504c9062c3b5fe9d415ca18b3c8825d6b Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 24 Sep 2024 13:02:31 -0400 Subject: [PATCH] backport relative time title fix --- docs/docs/resources/changelog.md | 4 ++++ src/components/relative-time/relative-time.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docs/resources/changelog.md b/docs/docs/resources/changelog.md index 7a2cb413c..cebb67533 100644 --- a/docs/docs/resources/changelog.md +++ b/docs/docs/resources/changelog.md @@ -12,6 +12,10 @@ Components with the Experimental bad During the alpha period, things might break! We take breaking changes very seriously, but sometimes they're necessary to make the final product that much better. We appreciate your patience! ::: +## Next + +- Fixed a bug in `` where the title attribute would show with redundant info + ## 3.0.0-alpha.3 - Added [SSR support](/docs/experimental/ssr/) to all components diff --git a/src/components/relative-time/relative-time.ts b/src/components/relative-time/relative-time.ts index 764c27874..4a0e37ce7 100644 --- a/src/components/relative-time/relative-time.ts +++ b/src/components/relative-time/relative-time.ts @@ -99,7 +99,7 @@ export default class WaRelativeTime extends WebAwesomeElement { this.updateTimeout = setTimeout(() => this.requestUpdate(), nextInterval); } - return html` `; + return html` `; } }