Skip to content

Commit 4f8eefb

Browse files
lindseywildsmockle
andauthored
Update src/relative-time-element.ts
Co-authored-by: Clay Miller <[email protected]>
1 parent f7a01aa commit 4f8eefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/relative-time-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ export class RelativeTimeElement extends HTMLElement implements Intl.DateTimeFor
388388
}
389389

390390
set noTitle(value: boolean | undefined) {
391-
this.toggleAttribute('no-title')
391+
this.toggleAttribute('no-title', value)
392392
}
393393

394394
get datetime() {

0 commit comments

Comments
 (0)