Commit 2cad4fc7 authored by Randall Leeds's avatar Randall Leeds

mmm

parent f7105313
...@@ -11,7 +11,6 @@ module.exports = class AnnotationViewerController ...@@ -11,7 +11,6 @@ module.exports = class AnnotationViewerController
streamer, store, streamFilter, annotationMapper streamer, store, streamFilter, annotationMapper
) -> ) ->
# Tells the view that these annotations are standalone # Tells the view that these annotations are standalone
$scope.isEmbedded = false
$scope.isStream = false $scope.isStream = false
# Provide no-ops until these methods are moved elsewere. They only apply # Provide no-ops until these methods are moved elsewere. They only apply
......
...@@ -57,10 +57,7 @@ module.exports = class AppController ...@@ -57,10 +57,7 @@ module.exports = class AppController
$scope.shareDialog = visible: false $scope.shareDialog = visible: false
# Check to see if we are on the stream page so we can hide share button. # Check to see if we are on the stream page so we can hide share button.
if $window.top is $window $scope.isEmbedded = $window.top isnt $window
$scope.showShareButton = false
else
$scope.showShareButton = true
cleanupAnnotations = -> cleanupAnnotations = ->
# Clean up all the annotations # Clean up all the annotations
......
...@@ -54,7 +54,6 @@ module.exports = class StreamController ...@@ -54,7 +54,6 @@ module.exports = class StreamController
# Perform the initial search # Perform the initial search
fetch(20) fetch(20)
$scope.isEmbedded = false
$scope.isStream = true $scope.isStream = true
$scope.sort.name = 'Newest' $scope.sort.name = 'Newest'
......
...@@ -10,8 +10,6 @@ module.exports = class WidgetController ...@@ -10,8 +10,6 @@ module.exports = class WidgetController
$scope, annotationUI, crossframe, annotationMapper, $scope, annotationUI, crossframe, annotationMapper,
streamer, streamFilter, store streamer, streamFilter, store
) -> ) ->
# Tells the view that these annotations are embedded into the owner doc
$scope.isEmbedded = true
$scope.isStream = true $scope.isStream = true
@chunkSize = 200 @chunkSize = 200
......
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