diff options
| author | Reorx <novoreorx@gmail.com> | 2022-06-01 17:14:46 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-06-01 17:15:04 +0800 |
| commit | 07c4add7bed65cb14f70aed58e7f71133df32814 (patch) | |
| tree | a8901cd6caf1e898a4e61a0549dae84b843a1a1c /exampleSite/content/docs/variables.md | |
| parent | 0aa7a35ee0535a0ba5bdde7ed1a6c4fa12b3008d (diff) | |
refactor toggleThemeCallbacks
- use object instead of array to ensure uniqueness for each callback
- do not use <script data-no-instant> to add callback, they won't be called if the page is not loaded first time;
instead, try to set the callback each time the page is loaded
Diffstat (limited to 'exampleSite/content/docs/variables.md')
0 files changed, 0 insertions, 0 deletions
