Widget: Compass: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
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');
                 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 11:13, 7 December 2022

Development version of the Compass.
Not ready for production!