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'); | ||
− | switchUp(theme, 'theme'); | + | switchUp(theme, '.theme'); |
− | switchUp(theme.querySelectorAll('.subtheme'), 'subtheme'); | + | switchUp(theme.querySelectorAll('.subtheme'), '.subtheme'); |
// const subthemes = Array.from(event.target.closest('.theme').querySelectorAll('.subtheme')); | // const subthemes = Array.from(event.target.closest('.theme').querySelectorAll('.subtheme')); | ||
Revision as of 12:13, 7 December 2022
Development version of the Compass.
Not ready for production!