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 150: Line 150:
             }
             }
             if (event.target.classList.contains('question')) {
             if (event.target.classList.contains('question')) {
                 event.target.querySelector('.answer').classList.toggle('opened');
                 event.target.querySelector('.answer')?.classList.toggle('opened');
             }
             }
         });
         });
     </script>
     </script>
</includeonly>
</includeonly>

Revision as of 15:51, 22 November 2022

Development version of the Compass.
Not ready for production!