Skip to content

Commit

Permalink
remove title
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Sep 24, 2024
1 parent 771c266 commit 761e062
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/pages/resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/components/relative-time/relative-time.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> `;
}
}

Expand Down

0 comments on commit 761e062

Please sign in to comment.