• Robert Knight's avatar
    Add temporary fix for crash when creating page notes · 971e51f5
    Robert Knight authored
    The `getSegmentSelector` function assumed all annotations have at least one
    target. This is true for all saved annotations and all new annotations with
    selectors, but is not true for new page notes.
    
    This is a stop-gap fix. The better solution will be to eliminate the
    inconsistency and make it so that all annotations have a non-empty `target`
    field.
    971e51f5
Name
Last commit
Last update
..
components Loading commit data...
config Loading commit data...
helpers Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-context.js Loading commit data...
websocket.js Loading commit data...