aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/js/collapsibles.js (follow)
Commit message (Collapse)AuthorAgeLines
* Complete refactor of collapsibles.Gravatar Leon Sandøy2022-02-01-4/+56
| | | | | | | | | | | | | This is now a completely self-contained feature, which can be used in the same way on every page. I've moved all the collapsible-related logics out of the resources.js file and into collapsibles.js, and added documentation and other quality-of-life features that will apply to other pages, as well. Changes: - The icon will now always change when the collapsible opens or closes. - By adding the "collapsed" class, you can tell the collapsible to be collapsed by default.
* Fix delay when collapsing collapsibles.Gravatar Leon Sandøy2022-02-01-0/+6
|
* Fix bug where transition wouldn't work on first collapse.Gravatar Leon Sandøy2022-02-01-5/+1
|
* Refactor: collapsibles as a stand-alone componentGravatar Leon Sandøy2022-01-30-0/+13