Commit b81dec06 authored by Robert Knight's avatar Robert Knight

Update comment to reflect that both an annotation AND a group can be direct-linked

The URL fragment syntax for direct links only supports either an
annotation or a group, the client's JSON configuration however currently allows
both an annotation and a group to be specified. If that happens, the
client goes to the group containing the direct-linked annotation, but
will still add the direct-linked group to the groups list.
parent 6623a3bb
...@@ -158,8 +158,7 @@ function groups( ...@@ -158,8 +158,7 @@ function groups(
* group. * group.
* *
* The groups that are fetched depend on the current user, the URI of * The groups that are fetched depend on the current user, the URI of
* the current document, and whether any direct-links were followed (either * the current document, and the direct-linked group and/or annotation.
* to an annotation or group).
* *
* @return {Promise<Group[]>} * @return {Promise<Group[]>}
*/ */
......
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