-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): 馃悰 make ToC tracking work for non-content pages
Since MW 1.40, ToC has been enabled on all pages including non-content page. By generating a list of elements to track through the ToC instead of targeting specific classes, it should be more resilient and will work for non-content pages.
- Loading branch information
1 parent
0a0a663
commit cd21fd0
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters