github / relative-time-element

Web component extensions to the standard <time> element.
https://github.github.io/relative-time-element/examples/
MIT License
3.57k stars 170 forks source link

fix: Move `noTitle` conditional. #284

Closed smockle closed 5 months ago

smockle commented 5 months ago

Calculate the new title, just don’t update the title attribute. This makes the 'relative-time-updated' event fire, even if noTitle is set.