From 50c5ececa85e7a1e739a932df4f1fdbadb4ba89a Mon Sep 17 00:00:00 2001 From: luchenqun Date: Sun, 11 Jun 2017 17:28:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=98=BE=E7=A4=BA=E6=A8=A1=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E8=8E=B7=E5=8F=96=E4=B9=A6=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/scripts/controllers/tags-controller.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) {