• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Make relative dates hoverable on touch devices

digitalpoint

Well-known member
#1
Adding some attributes to the <abbr> HTML tag used for relative time/dates would make it far more useful on touch devices (within XF\Template\Templater::fnDateDynamic()).

Code:
data-xf-init="tooltip" data-trigger="hover click"
There's been numerous times in XenForo where I'm trying to see the time of day something happened, but you have to go to a computer to see it since it's only available when you hover the mouse.