Commit 193745e1 authored by Aron Carroll's avatar Aron Carroll

Throw uncaught errors when using promises

parent ec80ee1f
......@@ -202,7 +202,7 @@ class ViewerController
loadAnnotations = ->
query = limit: 200
if crossFrameUI.tool is 'highlight'
if annotationUI.tool is 'highlight'
return unless auth.user
query.user = auth.user
......
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