Commit graph

10 commits

Author SHA1 Message Date
alistair3149 c5a2aaf9ec
refactor: convert skins.citizen.scripts.toc to ES6 2021-04-21 15:07:55 -04:00
alistair3149 3e217def6e
feat: rewrite ToC scrollspy
Remove legacy fallbacks and rewrite scrollspy using IntersectionObserver API
2021-04-02 15:42:56 -04:00
alistair3149 57ce5848ca
feat: add passive event listener to scrollspy 2021-03-15 12:42:55 -04:00
alistair3149 6273711f60
feat: improve scrollspy handling
Better support for non-latin language
Add throttle function
2021-03-13 22:34:15 -05:00
alistair3149 0746895e9b
fix: incorrect ToC scrollspy highlight 2021-03-08 15:02:20 -05:00
alistair3149 6d0612aafa
refactor: rename function to avoid shadowing 2021-01-05 19:39:15 -05:00
alistair3149 0398f5f9f6 Contain scripts inside functions 2020-08-12 12:59:57 -04:00
github-actions 57cf0cd5c8 Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-07-05 21:07:36 +00:00
alistair3149 9045398201
Add documentation to Citizen scripts 2020-06-16 23:16:45 -04:00
alistair3149 6ba5f41470
Use module name for stylesheets and scripts 2020-06-16 23:03:28 -04:00
Renamed from resources/skins.citizen.scripts.toc/toc.js (Browse further)