Widget: Compass: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 698: | Line 698: | ||
<script> | <script> | ||
// Attach plus icon to the title of expandable blocks. | // Attach plus icon to the title of expandable blocks. | ||
document.querySelectorAll('.theme > h2, .subtheme > h3').forEach(el => { | document.querySelectorAll('.theme > h2, .subtheme > h3, .question > h4').forEach(el => { | ||
const icon = document.createElement('div'); | const icon = document.createElement('div'); | ||
icon.classList.add('plus', 'icon'); | icon.classList.add('plus', 'icon'); |
Revision as of 10:13, 7 December 2022
Development version of the Compass.
Not ready for production!