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:
commit
19ef4722e1
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ function updatePage(url) {
|
|||
}).done(function (data) {
|
||||
var $page = $(data).filter('#page')
|
||||
$('#page').replaceWith($page)
|
||||
|
||||
$("time").timeago()
|
||||
})
|
||||
}, parseInt(localStorage.timeInterval) || 2000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue