diff --git a/public/scripts/controllers/tags-controller.js b/public/scripts/controllers/tags-controller.js index e296349..e006fef 100644 --- a/public/scripts/controllers/tags-controller.js +++ b/public/scripts/controllers/tags-controller.js @@ -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) {