diff --git a/source/scripts/controllers/comparison.js.coffee b/source/scripts/controllers/comparison.js.coffee index 4b01c6d..2c536a0 100644 --- a/source/scripts/controllers/comparison.js.coffee +++ b/source/scripts/controllers/comparison.js.coffee @@ -34,12 +34,14 @@ angular.module("sideBySide").controller "ComparisonController", $scope.all = poems.all scroll() + if not $scope.meta[0].Loading + route.update 'display', filter.getFilter() + $scope.switchActive = (poem) -> length = poems.getActive().length active = poem.meta.Active if (length > min or not active) and (length < max or active) poem.meta.Active = ! active - route.update 'display', filter.getFilter() # TODO else notification $scope.flipPick = ->