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

mmm

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