Homestyx hydra
Diffusion hydra 6b69102990a3

Fix a JS issue when the anchor element on a page has no container

Description

Fix a JS issue when the anchor element on a page has no container

Summary: See D21213. If there's no matching element, findAbove() throws. Handle these cases correctly.

Test Plan: Visited #toc on a revision, no longer saw a JS error.

Differential Revision: https://secure.phabricator.com/D21222

Details

Provenance
epriestleyAuthored on May 4 2020, 6:48 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:6430d6d638eb: Fix an intradiff error when the newer changeset does not exist
Branches
Unknown
Tags
Unknown

Event Timeline