Commit ebd343dc authored by Nick Stenning's avatar Nick Stenning

Remove unused $scope.shouldShowThread

The code that depended on this scope variable was moved into the
ThreadController in 0e2bd59. It is no longer referenced anywhere.
parent 27b2960f
...@@ -19,8 +19,6 @@ module.exports = class AnnotationViewerController ...@@ -19,8 +19,6 @@ module.exports = class AnnotationViewerController
# to annotations loaded into the stream. # to annotations loaded into the stream.
$scope.focus = angular.noop $scope.focus = angular.noop
$scope.shouldShowThread = -> true
$scope.search.update = (query) -> $scope.search.update = (query) ->
$location.path('/stream').search('q', query) $location.path('/stream').search('q', query)
......
...@@ -53,7 +53,4 @@ module.exports = class StreamController ...@@ -53,7 +53,4 @@ module.exports = class StreamController
$scope.isStream = true $scope.isStream = true
$scope.sort.name = 'Newest' $scope.sort.name = 'Newest'
$scope.threadRoot = threading.root $scope.threadRoot = threading.root
$scope.shouldShowThread = (container) -> true
$scope.loadMore = fetch $scope.loadMore = fetch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment