Commit graph

7 commits

Author SHA1 Message Date
alistair3149 09b399ccf0
feat: collapse ToC when clicked outside
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-08 14:32:29 -05:00
alistair3149 00448a095d
feat: add drawer subsearch part 2 2021-02-03 15:47:32 -05:00
H. C. Kruse 407d367e37 feat: add drawer subsearch (#264)
* bug: Fix display of theme toggle button if set to auto

* feat: Add subsearch script to drawer

An input in the drawer allows to search portal headings and links for matching text
- Hides all portals / links based on the search value

Feature can be enabled by setting `$wgCitizenEnableDrawerSubSearch = true;` in LocalSettings.

* bug: Fix subsearch
2021-02-03 15:01:50 -05:00
Hannes 1769510dae
refactor: Move ESC handler 2021-01-29 19:50:20 +01:00
Hannes b901ac7891
refactor: Hide drawer on esc and outside click 2021-01-29 19:02:09 +01:00
alistair3149 2836831335
fix: allow checkbox button to uncheck when clicked 2021-01-21 21:43:20 -05:00
alistair3149 3ba3a0cb8d
feat: hide menu when clicked outside 2021-01-21 21:08:55 -05:00