Commit f178e661 authored by Randall Leeds's avatar Randall Leeds

Merge pull request #784 from hypothesis/364-workaround

When trying to reply without signing in, show warning.
parents bdc18127 d0900c6b
......@@ -579,7 +579,7 @@ class Annotation
$scope.reply = ($event) ->
$event?.stopPropagation()
unless annotator.plugins.Auth? and annotator.plugins.Auth.haveValidToken()
$scope.$emit 'showAuth', true
$window.alert "In order to reply, you need to sign in."
return
references =
......
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