We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6fae74 commit 3f5c0a9Copy full SHA for 3f5c0a9
learn/templates/learn/layout.html
@@ -189,6 +189,12 @@ <h5>Preprocessing</h5>
189
imgs.forEach(img => {
190
img.classList.add('img-fluid');
191
});
192
+ // Close chapter links on click outside
193
+ document.addEventListener('click', (e) => {
194
+ if (!e.target.closest('.chapters')) {
195
+ toggleChapterLinks();
196
+ }
197
+ });
198
}
199
</script>
200
{% block script %}{% endblock %}
0 commit comments