Difference between revisions of "Widget:Compass"
From LINKS Community Center
Line 730: | Line 730: | ||
if (event.target.tagName === 'H2') { | if (event.target.tagName === 'H2') { | ||
const theme = event.target.closest('.theme'); | const theme = event.target.closest('.theme'); | ||
+ | event.target.classList.toggle('opened'); | ||
switchUp(theme, '.theme'); | switchUp(theme, '.theme'); | ||
switchUp(theme.querySelectorAll('.subtheme'), '.subtheme'); | switchUp(theme.querySelectorAll('.subtheme'), '.subtheme'); |
Revision as of 11:14, 7 December 2022
Development version of the Compass.
Not ready for production!