Skip to content
Snippets Groups Projects
Commit ac98f61d authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

restrict JS code to current element, fixes #246

parent 0e51c628
No related branches found
No related tags found
No related merge requests found
......@@ -433,7 +433,7 @@ function vips_post_render(element) {
}
});
$('.cloze_select').filter(':contains("\\\\(")').each(function() {
$(element).find('.cloze_select').filter(':contains("\\\\(")').each(function() {
STUDIP.loadChunk('mathjax').then(({ Hub }) => {
Hub.Queue(['Typeset', Hub, this]);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment