[WIP] Restore feature to scroll for annotations

Clicking on an annotation card will bring (one of the) highlights belonging to that annotation into the view in the document.
Oh, I get it.
On mouse leave, we call activate with no args. That's why it needs the
check.

Which means we don't need it. I'll get rid of it.
2014.11.26. 21:46 ezt írta ("Randall Leeds" <notifications@github.com>):

> In h/static/scripts/controllers.coffee:
>
> > @@ -345,6 +345,13 @@ class ViewerController
> >            method: 'setActiveHighlights'
> >            params: highlights
> >
> > +    $scope.scrollto = (annotation) ->
> > +      if angular.isObject annotation
>
> Is this check necessary? When would it ever not be an Object?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hypothesis/h/pull/1720/files#r20963012>.
>