Commit cc54a1ca authored by Ujvari Gergely's avatar Ujvari Gergely

Change default view to Document

Part of #1231
parent 86ab9a97
...@@ -169,7 +169,7 @@ class App ...@@ -169,7 +169,7 @@ class App
$rootScope.viewState = $rootScope.viewState =
sort: '' sort: ''
view: 'Screen' view: 'Document'
# Show the sort/view control for a while. # Show the sort/view control for a while.
# #
...@@ -274,7 +274,7 @@ class App ...@@ -274,7 +274,7 @@ class App
, 200 # We hope this is long enough , 200 # We hope this is long enough
$scope.reloadAnnotations = -> $scope.reloadAnnotations = ->
$rootScope.applyView "Screen" $rootScope.applyView "Document"
return unless annotator.plugins.Store return unless annotator.plugins.Store
$scope.$root.annotations = [] $scope.$root.annotations = []
annotator.threading.thread [] annotator.threading.thread []
......
...@@ -41,7 +41,7 @@ class Annotator.Plugin.Heatmap extends Annotator.Plugin ...@@ -41,7 +41,7 @@ class Annotator.Plugin.Heatmap extends Annotator.Plugin
index: [] index: []
# whether to update the viewer as the window is scrolled # whether to update the viewer as the window is scrolled
dynamicBucket: true dynamicBucket: false
constructor: (element, options) -> constructor: (element, options) ->
super $(@html), options super $(@html), options
......
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