Skip to content

Commit 761e062

Browse files
committed
remove title
1 parent 771c266 commit 761e062

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/pages/resources/changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Components with the <sl-badge variant="warning" pill>Experimental</sl-badge> bad
1212

1313
New versions of Shoelace are released as-needed and generally occur when a critical mass of changes have accumulated. At any time, you can see what's coming in the next release by visiting [next.shoelace.style](https://next.shoelace.style).
1414

15+
## Next
16+
17+
- Fixed a bug in `<sl-relative-time>` where the title attribute would show with redundant info [#2184]
18+
1519
## 2.17.1
1620

1721
- Fixed a bug in `<sl-icon>` not applying the mutator when loading multiple icons of the same name from a spritesheet. [#2178]

src/components/relative-time/relative-time.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default class SlRelativeTime extends ShoelaceElement {
9999
this.updateTimeout = window.setTimeout(() => this.requestUpdate(), nextInterval);
100100
}
101101

102-
return html` <time datetime=${this.isoTime} title=${this.relativeTime}>${this.relativeTime}</time> `;
102+
return html` <time datetime=${this.isoTime}>${this.relativeTime}</time> `;
103103
}
104104
}
105105

0 commit comments

Comments
 (0)