timeago.js icon indicating copy to clipboard operation
timeago.js copied to clipboard

Time issue after appending row

Open fawwadshafi opened this issue 3 years ago • 1 comments

Hello,

I'm having an issue after the new row appending using the Ajax record. when the row is appended and I call the "time ago" it suddenly changes the time to "2 minutes ago" instead of "0 seconds ago". I'm testing on Demo server.

The same thing is working fine when I'm using on Localhost (xampp)

fawwadshafi avatar Nov 03 '21 05:11 fawwadshafi

This is my code

$(comment_HTML).insertAfter(parent); // Load Timeago $("body time.timeago").timeago();

fawwadshafi avatar Nov 03 '21 05:11 fawwadshafi