Widget: Compass: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
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!