-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
When an annotation on a document is visited using its direct link (document URL with ?id=XXX), the pager buttons don't work right away and cause the attached error. Neither of the "None," "Mine," or "All" buttons are selected either. Selecting one of these buttons makes paging through annotations work again.
js_NnoPHN7yKs4UpwICVDR-tCcYvswoIoRqJrkmQchqAhI.js:603 Uncaught TypeError: Cannot read property 'highlights' of undefined
at PTController.check_if_annotation_visible (js_NnoPHN7yKs4UpwICVDR-tCcYvswoIoRqJrkmQchqAhI.js:603)
at HTMLDocument.<anonymous> (js_NnoPHN7yKs4UpwICVDR-tCcYvswoIoRqJrkmQchqAhI.js:532)
at HTMLDocument.dispatch (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:3)
at HTMLDocument.i (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:3)
at Object.trigger (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:3)
at HTMLDocument.<anonymous> (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:3)
at Function.each (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:2)
at $.fn.init.each (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:2)
at $.fn.init.trigger (js_9ghOzpywkUSGMtnNnMGS7mA2XEN0DUwNX9wpktc9bCo.js:3)
at Filters.Annotator.Plugin.Filters.Filters.pagerClick (js_MW6BUpL3plJBXcwx5KHY0doSU7EhY8GRrdua4rmUGOw.js:10424)