• Nick Stenning's avatar
    Don't consider new-format comments to be orphans · f1c3d2fd
    Nick Stenning authored
    Previously, an annotation with a selectorless target (such as a comment
    or "page note") would be marked as an orphan.
    
    This commit adjusts the orphan detection code so that an annotation is
    marked as an orphan only if both of the following conditions are met:
    
    - it has at least one target with selectors (an "anchorable target")
    - none of the anchorable targets have successfully anchored
    f1c3d2fd
guest.coffee 13.2 KB