diff --git a/public/scripts/controllers/bookmarks-controller.js b/public/scripts/controllers/bookmarks-controller.js index 92127ab..937a91d 100644 --- a/public/scripts/controllers/bookmarks-controller.js +++ b/public/scripts/controllers/bookmarks-controller.js @@ -64,17 +64,17 @@ app.controller('bookmarksCtr', ['$scope', '$state', '$stateParams', '$filter', ' }) } - if ($scope.showStyle == 'table') { - $scope.changeOrder($scope.order.indexOf(true)); - } - - if ($scope.showStyle == 'costomTag') { - $scope.costomTags.forEach((tag) => { - if (tag.clicked) { - $scope.updateCostomTagBookmarks(tag.index) - } - }) - } + // if ($scope.showStyle == 'table') { + // $scope.changeOrder($scope.order.indexOf(true)); + // } + // + // if ($scope.showStyle == 'costomTag') { + // $scope.costomTags.forEach((tag) => { + // if (tag.clicked) { + // $scope.updateCostomTagBookmarks(tag.index) + // } + // }) + // } $timeout(function() { timeagoInstance.cancel(); diff --git a/public/scripts/controllers/tags-controller.js b/public/scripts/controllers/tags-controller.js index 020aac8..6713397 100644 --- a/public/scripts/controllers/tags-controller.js +++ b/public/scripts/controllers/tags-controller.js @@ -128,7 +128,7 @@ app.controller('tagsCtr', ['$scope', '$filter', '$window', '$stateParams', '$tim bookmark.last_click = $filter("date")(new Date(), "yyyy-MM-dd HH:mm:ss"); } }) - $scope.changeOrder($scope.order.indexOf(true)); + // $scope.changeOrder($scope.order.indexOf(true)); $timeout(function() { timeagoInstance.cancel(); timeagoInstance.render(document.querySelectorAll('.need_to_be_rendered'), 'zh_CN');