See D21213. If there's no matching element, findAbove() throws. Handle these cases correctly.
Details
Details
- Reviewers
- None
- Commits
- rP6b69102990a3: Fix a JS issue when the anchor element on a page has no container
Visited #toc on a revision, no longer saw a JS error.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- anchor1
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 24357 Build 33555: Run Core Tests Build 33554: arc lint + arc unit