Commit 7d75d0d7 authored by Ujvari Gergely's avatar Ujvari Gergely Committed by Randall Leeds

Adapt to fuzzy-annotation

parent b4b35c00
......@@ -187,8 +187,8 @@ class App
class Annotation
this.$inject = ['$element', '$location', '$scope', 'annotator', 'drafts']
constructor: ($element, $location, $scope, annotator, drafts) ->
this.$inject = ['$element', '$location', '$scope', 'annotator', 'drafts', '$timeout']
constructor: ($element, $location, $scope, annotator, drafts, $timeout) ->
threading = annotator.threading
$scope.action = 'create'
......@@ -283,7 +283,7 @@ class Annotation
$scope.share = ->
$scope.shared = not $scope.shared
if $scope.shared and not $scope.shared_link
$scope.shared_link = window.location.host + '/a/' + $scope.$modelValue.id
$scope.shared_link = window.location.host + '/a/' + $scope.model.$modelValue.id
console.log $scope.shared
......
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