分类页面,切换显示模式,重新获取书签
This commit is contained in:
parent
e8792de656
commit
50c5ececa8
|
|
@ -228,10 +228,7 @@ app.controller('tagsCtr', ['$scope', '$filter', '$window', '$stateParams', '$tim
|
|||
|
||||
$scope.toggleShowMode = function(showMode) {
|
||||
$scope.showMode = showMode;
|
||||
$timeout(function() {
|
||||
timeagoInstance.cancel();
|
||||
timeagoInstance.render(document.querySelectorAll('.need_to_be_rendered'), 'zh_CN');
|
||||
}, 100)
|
||||
$scope.getBookmarks($scope.currentTagId, 1);
|
||||
}
|
||||
|
||||
$scope.editTag = function(tag) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue