Commit cba3c3bd authored by Nick Stenning's avatar Nick Stenning

Fix typo

parent 86b999ee
...@@ -128,7 +128,7 @@ class Annotator.Plugin.BucketBar extends Annotator.Plugin ...@@ -128,7 +128,7 @@ class Annotator.Plugin.BucketBar extends Annotator.Plugin
dir = if direction is "up" then +1 else -1 dir = if direction is "up" then +1 else -1
{next} = annotations.reduce (acc, ann) -> {next} = annotations.reduce (acc, ann) ->
{start, next} = acc {start, next} = acc
anchor = ann.anchoring.anchors[0] anchor = ann.anchors[0]
if not next? or start.page*dir < anchor.startPage*dir if not next? or start.page*dir < anchor.startPage*dir
# This one is obviously better # This one is obviously better
start: start:
......
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