Commit 35a8ec1f authored by Randall Leeds's avatar Randall Leeds

Don't call loadMore except from stream

This causes unnecessary network traffic and momentarily blanks the
ephemeral properties of the annotation set on the client.
parent 6e41b134
......@@ -121,9 +121,6 @@ module.exports = class AppController
$scope.accountDialog.visible = false
identity.logout()
$scope.loadMore = (number) ->
streamer.send({messageType: 'more_hits', moreHits: number})
$scope.clearSelection = ->
$scope.search.query = ''
annotationUI.clearSelectedAnnotations()
......
......@@ -51,3 +51,6 @@ module.exports = class StreamController
$scope.sort.name = 'Newest'
$scope.shouldShowThread = (container) -> true
$scope.loadMore = (number) ->
streamer.send({messageType: 'more_hits', moreHits: number})
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