remove title

This commit is contained in:
Cory LaViska
2024-09-24 13:01:10 -04:00
parent 771c266747
commit 761e06220a
2 changed files with 5 additions and 1 deletions

View File

@@ -12,6 +12,10 @@ Components with the <sl-badge variant="warning" pill>Experimental</sl-badge> bad
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).
## Next
- Fixed a bug in `<sl-relative-time>` where the title attribute would show with redundant info [#2184]
## 2.17.1
- Fixed a bug in `<sl-icon>` not applying the mutator when loading multiple icons of the same name from a spritesheet. [#2178]

View File

@@ -99,7 +99,7 @@ export default class SlRelativeTime extends ShoelaceElement {
this.updateTimeout = window.setTimeout(() => this.requestUpdate(), nextInterval);
}
return html` <time datetime=${this.isoTime} title=${this.relativeTime}>${this.relativeTime}</time> `;
return html` <time datetime=${this.isoTime}>${this.relativeTime}</time> `;
}
}