• Kyle Keating's avatar
    Prevent scrolling to annotations from links or buttons · 49c47008
    Kyle Keating authored
    If an event is triggered from a link or button or a descendent of a link or button, then prevent scrollToAnnotation from firing. It is assumed in these cases that a more specific action was intended and the page shall not scroll to the underlying annotation. Additional, dom-element.js has moved to /shared since its now used in both the annotator and sidebar 
    49c47008
dom-element-test.js 745 Bytes