1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Merge pull request #2332 from davydovanton/fix-timeago-web

Call timeago() for new <time> tags during live pull
This commit is contained in:
Mike Perham 2015-05-05 08:57:45 -07:00
commit 19ef4722e1

View file

@ -60,6 +60,8 @@ function updatePage(url) {
}).done(function (data) {
var $page = $(data).filter('#page')
$('#page').replaceWith($page)
$("time").timeago()
})
}, parseInt(localStorage.timeInterval) || 2000);
}