Commit b84eb6ca authored by Ujvari Gergely's avatar Ujvari Gergely Committed by Randall Leeds

Debug edition

parent fc94994f
......@@ -282,7 +282,7 @@ class Annotation
$scope.share = ->
$scope.shared = not $scope.shared
$element.find('.share-dialog').slideToggle()
if $scope.shared and not $scope.shared_link
if $scope.shared
$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