搜索小bug
This commit is contained in:
parent
584a58496b
commit
28da1b6da4
|
|
@ -277,6 +277,7 @@ app.controller('searchCtr', ['$scope', '$state', '$stateParams', '$filter', '$wi
|
||||||
|
|
||||||
function transition() {
|
function transition() {
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
timeagoInstance.cancel();
|
||||||
timeagoInstance.render(document.querySelectorAll('.need_to_be_rendered'), 'zh_CN');
|
timeagoInstance.render(document.querySelectorAll('.need_to_be_rendered'), 'zh_CN');
|
||||||
}, 100)
|
}, 100)
|
||||||
var className = 'js-table-search';
|
var className = 'js-table-search';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue