Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Revert "Ensure that highlighted anchor link is always in view (fixes #23
Browse files Browse the repository at this point in the history
)"

This reverts commit 5eaad3e.
  • Loading branch information
dotherightthing committed Jan 8, 2021
1 parent 5eaad3e commit 5a63a1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/_frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ const wpdtrtAnchorlinksUi = {

$anchorLinkActive.addClass('wpdtrt-anchorlinks__list-link-active');

$anchorLinkActive.get(0).scrollIntoView();

wpdtrtAnchorlinksUi.showScrollProgress();
}
});
Expand Down

0 comments on commit 5a63a1c

Please sign in to comment.